Fix undefined signedIn

This commit is contained in:
Elizabeth Hunt 2023-04-05 01:08:51 -06:00
parent 1b0ff8ce68
commit 069aeddaf9
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -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;