@page "/Auth/Logout"
Logging out...
@code { protected override async Task OnInitializedAsync() { var client = await BugMineStorage.GetCurrentSessionOrNull(); if (client != null) { await client.Homeserver.Logout(); } await BugMineStorage.RemoveToken(await BugMineStorage.GetCurrentToken()); await BugMineStorage.SetCurrentToken(null); NavigationManager.NavigateTo("/", true); } }