Skip to content

Commit 6dfab40

Browse files
authored
Use an AuthorizeRouteView in the Routes component (#648)
1 parent c20fb29 commit 6dfab40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

0 commit comments

Comments
 (0)