Fix undefined signedIn
This commit is contained in:
parent
1b0ff8ce68
commit
069aeddaf9
@ -77,7 +77,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => {
|
|||||||
["friendId", "friendName"].map((x) => localStorage.removeItem(x));
|
["friendId", "friendName"].map((x) => localStorage.removeItem(x));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return signedIn;
|
return !!signedIn;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return sessionOver;
|
return sessionOver;
|
||||||
|
Loading…
Reference in New Issue
Block a user