UNPKG

@sofaws/dapp-core

Version:

A library to hold the main logic for a dapp on the Elrond Network

3 lines (2 loc) 257 B
import{m as t}from"./chunk-HBP5N4FR.js";t();import{useState as c,useEffect as f}from"react";var p=(e,n)=>{let[o,r]=c(e);return f(()=>{let s=setTimeout(()=>r(e),n);return()=>clearTimeout(s)},[e]),o};export{p as a}; //# sourceMappingURL=chunk-VPGECZPA.js.map