remove isLoggedIn booelan from lichess user, either a user exists or doesnt

This commit is contained in:
2026-06-12 11:20:55 +02:00
parent 3da81680a1
commit f12176e713
-2
View File
@@ -15,7 +15,6 @@ import { getSession } from "#/server/lichess.ts";
interface ILichessUser { interface ILichessUser {
username: string; username: string;
id: string; id: string;
isLoggedIn: boolean;
} }
interface ILichessUserContextType { interface ILichessUserContextType {
@@ -38,7 +37,6 @@ export const LichessUserProvider = ({ children }: { children: ReactNode }) => {
setUser({ setUser({
username: session.username, username: session.username,
id: session.id, id: session.id,
isLoggedIn: true,
}); });
} }
})(); })();