diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-05-24 02:18:10 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-15 10:45:43 +1000 |
| commit | ef6337f1627918d3fef3f961cfe87233bdeb0a1b (patch) | |
| tree | 8189b39787b68e11a21ce0ead0624bab7ad8ea28 /Layout/MainLayout.razor | |
| parent | c514375228868d00a1a6a1bb8ffcc5cbda3ba7ee (diff) | |
Added Blazor error banner to MainLayout.razor
Diffstat (limited to 'Layout/MainLayout.razor')
| -rw-r--r-- | Layout/MainLayout.razor | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Layout/MainLayout.razor b/Layout/MainLayout.razor index 8e9f6bd..4c1b284 100644 --- a/Layout/MainLayout.razor +++ b/Layout/MainLayout.razor @@ -1,7 +1,5 @@ @inherits LayoutComponentBase -<link href="@(nameof(HyperBooru)).styles.css" rel="stylesheet" /> - <Titlebar/> <MobileMenu/> @@ -9,3 +7,9 @@ <div id="content"> @Body </div> + +<div id="blazor-error-ui" data-nosnippet> + An unhandled error has occurred. + <a href="." class="reload">Reload</a> + <span class="dismiss">🗙</span> +</div> |
