1
0
Fork 0
mirror of https://github.com/miawinter98/just-short-it.git synced 2024-11-14 13:29:54 +00:00
just-short-it/Components/Routes.razor

9 lines
355 B
Plaintext
Raw Normal View History

<CascadingAuthenticationState>
<Router AppAssembly="@typeof(Program).Assembly">
<Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="typeof(Layout.MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
</Router>
</CascadingAuthenticationState>