Skip to content

Commit d37c5d2

Browse files
committed
Simplify app.razor
1 parent d1c892e commit d37c5d2

File tree

4 files changed

+0
-24
lines changed

4 files changed

+0
-24
lines changed

projects/.net8/RazorComponentEleven/App.razor

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
1515
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
1616
</Found>
17-
<NotFound>
18-
<PageTitle>Not found</PageTitle>
19-
<LayoutView Layout="@typeof(MainLayout)">
20-
<p role="alert">Sorry, there's nothing at this address.</p>
21-
</LayoutView>
22-
</NotFound>
2317
</Router>
2418

2519
<script src="_framework/blazor.web.js" suppress-error="BL9992"></script>

projects/.net8/RazorComponentNine/App.razor

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
1515
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
1616
</Found>
17-
<NotFound>
18-
<PageTitle>Not found</PageTitle>
19-
<LayoutView Layout="@typeof(MainLayout)">
20-
<p role="alert">Sorry, there's nothing at this address.</p>
21-
</LayoutView>
22-
</NotFound>
2317
</Router>
2418

2519
<script src="_framework/blazor.web.js" suppress-error="BL9992"></script>

projects/.net8/RazorComponentSeven/App.razor

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
1515
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
1616
</Found>
17-
<NotFound>
18-
<PageTitle>Not found</PageTitle>
19-
<LayoutView Layout="@typeof(MainLayout)">
20-
<p role="alert">Sorry, there's nothing at this address.</p>
21-
</LayoutView>
22-
</NotFound>
2317
</Router>
2418

2519
<script src="_framework/blazor.web.js" suppress-error="BL9992"></script>

projects/.net8/RazorComponentTen/RazorComponentTen/App.razor

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
1616
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
1717
</Found>
18-
<NotFound>
19-
<PageTitle>Not found</PageTitle>
20-
<LayoutView Layout="@typeof(MainLayout)">
21-
<p role="alert">Sorry, there's nothing at this address.</p>
22-
</LayoutView>
23-
</NotFound>
2418
</Router>
2519

2620
<script src="_framework/blazor.web.js" suppress-error="BL9992"></script>

0 commit comments

Comments
 (0)