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

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