Skip to content

Commit

Permalink
Merge pull request #21 from maikelbos0/Fix-Router
Browse files Browse the repository at this point in the history
Actually fix the router component
  • Loading branch information
maikelbos0 authored Jan 25, 2025
2 parents 11063fe + 2c4246b commit 9c8c716
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/VDT.Core.Blazor.GlobalEventHandler.Examples/App.razor
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<Router AppAssembly="@typeof(Program).Assembly">
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<h1>Not found</h1>

<p>Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
Expand Down

0 comments on commit 9c8c716

Please sign in to comment.