We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9515281 commit c20fb29Copy full SHA for c20fb29
1 file changed
10.0/BlazorWebAssemblyStandaloneWithIdentity/BlazorWasmAuth/App.razor
@@ -1,7 +1,7 @@
1
<CascadingAuthenticationState>
2
<Router AppAssembly="@typeof(App).Assembly" NotFoundPage="typeof(Pages.NotFound)">
3
<Found Context="routeData">
4
- <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>
+ <AuthorizeRouteView RouteData="routeData" DefaultLayout="typeof(MainLayout)" />
5
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
6
</Found>
7
</Router>
0 commit comments