From dd31f7352cd170616f03b1af301d4d2597ac3966 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Sun, 24 May 2026 01:25:02 +1000 Subject: Modified Razor pages and components to temporarily allow them to compile --- Pages/Login.razor | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Pages/Login.razor') diff --git a/Pages/Login.razor b/Pages/Login.razor index 723a78a..bdc6069 100644 --- a/Pages/Login.razor +++ b/Pages/Login.razor @@ -1,17 +1,17 @@ @page "/Login" -@inject NavigationManager navigationManager +@* @inject NavigationManager navigationManager *@ HyperBooru Login
@code { - [CascadingParameter] - public Task AuthenticationState{ get; set; } + // [CascadingParameter] + // public Task AuthenticationState{ get; set; } protected override void OnInitialized() { - var authState = AuthenticationState.GetAwaiter().GetResult(); - if(authState!.User.Identity?.IsAuthenticated ?? false) - navigationManager.NavigateTo("/"); + // var authState = AuthenticationState.GetAwaiter().GetResult(); + // if(authState!.User.Identity?.IsAuthenticated ?? false) + // navigationManager.NavigateTo("/"); } } \ No newline at end of file -- cgit v1.3