import { useEffect, useRef } from "react";
const usePrevious = (value) => {
	const ref = useRef(null);
	useEffect(() => {
		ref.current = value;
	}, [value]);
	return ref.current;
};
export { usePrevious as t };

//# sourceMappingURL=usePrevious.js.map