mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 01:46:57 +00:00
remove isLoggedIn booelan from lichess user, either a user exists or doesnt
This commit is contained in:
@@ -15,7 +15,6 @@ import { getSession } from "#/server/lichess.ts";
|
||||
interface ILichessUser {
|
||||
username: string;
|
||||
id: string;
|
||||
isLoggedIn: boolean;
|
||||
}
|
||||
|
||||
interface ILichessUserContextType {
|
||||
@@ -38,7 +37,6 @@ export const LichessUserProvider = ({ children }: { children: ReactNode }) => {
|
||||
setUser({
|
||||
username: session.username,
|
||||
id: session.id,
|
||||
isLoggedIn: true,
|
||||
});
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user