5d1eeb8485
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m14s
Problem: Page components were not rendering content because @rendermode was only on App.razor and Routes.razor, not on individual @page components. Solution: Add @rendermode InteractiveWebAssembly to all admin page components to ensure they render interactively in WebAssembly context. Result: All admin pages now render their content correctly. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
19 lines
515 B
Plaintext
19 lines
515 B
Plaintext
@page "/admin/logout"
|
|
@rendermode InteractiveWebAssembly
|
|
@using TaxBaik.Web.Services
|
|
@inject CustomAuthenticationStateProvider AuthStateProvider
|
|
@inject NavigationManager NavigationManager
|
|
|
|
<PageTitle>로그아웃</PageTitle>
|
|
|
|
@code {
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
// 사용자 로그아웃
|
|
await AuthStateProvider.LogoutAsync();
|
|
|
|
// 로그인 페이지로 리다이렉트
|
|
NavigationManager.NavigateTo("/taxbaik/admin/login", forceLoad: true);
|
|
}
|
|
}
|