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 {
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,
});
}
})();