From ab9880bdea3a16d2f467b1e590ac76db6aa8f85d Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 5 Oct 2025 01:43:25 +0000 Subject: [PATCH] Add refs for caching loads cgen-bfc3b04cd196489abd0efbead3082158 --- client/pages/ProfilePassport.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/pages/ProfilePassport.tsx b/client/pages/ProfilePassport.tsx index 1620d304..e42a9f30 100644 --- a/client/pages/ProfilePassport.tsx +++ b/client/pages/ProfilePassport.tsx @@ -61,6 +61,8 @@ const ProfilePassport = () => { const [interests, setInterests] = useState([]); const [loading, setLoading] = useState(true); const [notFound, setNotFound] = useState(false); + const lastLoadedKeyRef = useRef(null); + const activationAttemptedRef = useRef(false); useEffect(() => { if (isSelfRoute && !user) {