import{r as t}from"./index-4g5l5LRQ.js";function u(c){const e=t.useRef(c);return t.useEffect(()=>{e.current=c}),t.useMemo(()=>(...f)=>{var r;return(r=e.current)===null||r===void 0?void 0:r.call(e,...f)},[])}export{u as $};
