import{useRef as r,useCallback as n}from"react";var t=function(t){var o=r(t);o.current=t;var a=n((function(){for(var r,n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];return null===(r=o.current)||void 0===r?void 0:r.call.apply(r,[o].concat(t))}),[]);return t?a:void 0};export{t as useStableCallback};
//# sourceMappingURL=useStableCallback.js.map
