This commit is contained in:
2023-05-14 18:55:19 -05:00
parent 257504fa72
commit 809ca92c8a
13 changed files with 130 additions and 24 deletions

View File

@@ -3,7 +3,11 @@
<div class="pageHeader">
<h1>Shogi</h1>
@if (user != null)
@if (user == null)
{
<button type="button" class="logout" @onclick="AccountManager.LogoutAsync">Logout</button>
}
else
{
<div class="user">
<div>@user.Value.DisplayName</div>