import*as e from"react";var t="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;function r(r){var u=e.useRef(r);return t((function(){u.current=r})),e.useCallback((function(){return u.current.apply(void 0,arguments)}),[])}export default r;
//# sourceMappingURL=useEventCallback.js.map
