import{i as c}from"./index-BbBXKozi.js";const{useEffect:n,useState:s}=await c("react");function a(e,t){const[o,r]=s(e);return n(()=>{const u=setTimeout(()=>{r(e)},t??500);return()=>{clearTimeout(u)}},[e,t]),o}export{a as u};
//# sourceMappingURL=useDebounce-DNPHcuAA.js.map