import * as e from "react";
//#region node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
function t(t) {
	let n = e.useRef(t);
	return e.useEffect(() => {
		n.current = t;
	}), e.useMemo(() => (...e) => n.current?.(...e), []);
}
//#endregion
export { t };

//# sourceMappingURL=dist-RmXz0NYF.js.map