mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 01:46:57 +00:00
fix button text based on user existing, rather that the removed isLogged in boolean
This commit is contained in:
@@ -26,9 +26,7 @@ const LichessButton = () => {
|
|||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>{user ? `Logout ${user.username}` : "Log into Lichess.org"}</p>
|
||||||
{user?.isLoggedIn ? `Logout ${user.username}` : "Log into Lichess.org"}
|
|
||||||
</p>
|
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user