// Metro module 8332 (f8333). import { useRef } from "react"; export default function usePrevValue(a0) { const ref = useRef(null); const ref2 = useRef(null); if (!Object.is(a0, ref2.current)) { ref.current = ref2.current; ref2.current = a0; } return ref.current; };