import { useEffect, useRef } from "react";
//#region src/utilities/usePrevious.js
const usePrevious = (value) => {
	const ref = useRef();
	useEffect(() => {
		ref.current = value;
	}, [value]);
	return ref.current;
};
//#endregion
export { usePrevious };

//# sourceMappingURL=usePrevious.mjs.map