Commit 18e2445
fix(portal): add Authorization namespace to _Imports.razor
Without @using Microsoft.AspNetCore.Components.Authorization in _Imports.razor,
the <CascadingAuthenticationState> tag in App.razor was silently compiled as
an HTML element instead of a Blazor component. This left AuthorizeView with
no cascading Task<AuthenticationState>, causing every circuit to crash with
"Authorization requires a cascading parameter of type Task<AuthenticationState>".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 838bd24 commit 18e2445
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments