fix button text based on user existing, rather that the removed isLogged in boolean

This commit is contained in:
2026-06-12 11:21:50 +02:00
parent 030d44226d
commit 4edcb49f58
+1 -3
View File
@@ -26,9 +26,7 @@ const LichessButton = () => {
</svg>
</div>
<p>
{user?.isLoggedIn ? `Logout ${user.username}` : "Log into Lichess.org"}
</p>
<p>{user ? `Logout ${user.username}` : "Log into Lichess.org"}</p>
</button>
);
};