Skip to content

Commit c20fb29

Browse files
authored
Change RouteView to AuthorizeRouteView (#646)
1 parent 9515281 commit c20fb29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 10.0/BlazorWebAssemblyStandaloneWithIdentity/BlazorWasmAuth

10.0/BlazorWebAssemblyStandaloneWithIdentity/BlazorWasmAuth/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<CascadingAuthenticationState>
22
<Router AppAssembly="@typeof(App).Assembly" NotFoundPage="typeof(Pages.NotFound)">
33
<Found Context="routeData">
4-
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>
4+
<AuthorizeRouteView RouteData="routeData" DefaultLayout="typeof(MainLayout)" />
55
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
66
</Found>
77
</Router>

0 commit comments

Comments
 (0)