"use client";
let react = require("react");
//#region packages/@mantine/hooks/src/use-previous/use-previous.ts
function usePrevious(value) {
	const ref = (0, react.useRef)(void 0);
	(0, react.useEffect)(() => {
		ref.current = value;
	}, [value]);
	return ref.current;
}
//#endregion
exports.usePrevious = usePrevious;

//# sourceMappingURL=use-previous.cjs.map