diff --git a/client/src/context/authContext.tsx b/client/src/context/authContext.tsx index 60a4159..19a1ddd 100644 --- a/client/src/context/authContext.tsx +++ b/client/src/context/authContext.tsx @@ -77,7 +77,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => { ["friendId", "friendName"].map((x) => localStorage.removeItem(x)); return false; } - return signedIn; + return !!signedIn; }); } return sessionOver;