import { useRef as r, useEffect as s } from "react";
const o = (t) => {
  const e = r(t);
  return s(() => {
    e.current = t;
  }, [t]), e;
};
export {
  o as default
};
//# sourceMappingURL=useLatest.js.map
