Remove profile dependency from guard
cgen-bdc993d12d0242a380a1ccea35274449
This commit is contained in:
parent
4836d6cc37
commit
fb402aab84
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue