Remove profile dependency from guard

cgen-bdc993d12d0242a380a1ccea35274449
This commit is contained in:
Builder.io 2025-10-05 01:45:29 +00:00
parent 4836d6cc37
commit fb402aab84

View file

@ -83,7 +83,7 @@ const ProfilePassport = () => {
? `username:${normalizedUsername}` ? `username:${normalizedUsername}`
: null; : null;
if (targetKey && lastLoadedKeyRef.current === targetKey && profile) { if (targetKey && lastLoadedKeyRef.current === targetKey) {
setLoading(false); setLoading(false);
setNotFound(false); setNotFound(false);
return; return;