From 4edcb49f58961751f002e7a51d61cb8a7774f10f Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 12 Jun 2026 11:21:50 +0200 Subject: [PATCH] fix button text based on user existing, rather that the removed isLogged in boolean --- src/components/LichessButton.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/LichessButton.tsx b/src/components/LichessButton.tsx index c4e8e36..a84b047 100644 --- a/src/components/LichessButton.tsx +++ b/src/components/LichessButton.tsx @@ -26,9 +26,7 @@ const LichessButton = () => { -

- {user?.isLoggedIn ? `Logout ${user.username}` : "Log into Lichess.org"} -

+

{user ? `Logout ${user.username}` : "Log into Lichess.org"}

); };