about summary refs log tree commit diff
path: root/MatrixUtils.Web/App.razor
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-09-21 16:03:44 +0200
committerRory& <root@rory.gay>2025-09-21 16:03:44 +0200
commitd105d1a7ec709ddb6240a286bbd7be292a9acd1c (patch)
treea7d174479553fbe23b51a66172a3f5429e78e708 /MatrixUtils.Web/App.razor
parentRoom upgrade CLI changes, policy list work (diff)
downloadMatrixUtils-d105d1a7ec709ddb6240a286bbd7be292a9acd1c.tar.xz
Various fixes
Diffstat (limited to 'MatrixUtils.Web/App.razor')
-rw-r--r--MatrixUtils.Web/App.razor9
1 files changed, 8 insertions, 1 deletions
diff --git a/MatrixUtils.Web/App.razor b/MatrixUtils.Web/App.razor

index a8cf817..7e8e1c3 100644 --- a/MatrixUtils.Web/App.razor +++ b/MatrixUtils.Web/App.razor
@@ -1,4 +1,5 @@ -<Router AppAssembly="@typeof(App).Assembly"> +@using Microsoft.AspNetCore.Components.WebAssembly.Hosting +<Router AppAssembly="@typeof(App).Assembly"> <Found Context="routeData"> <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/> <FocusOnNavigate RouteData="@routeData" Selector="h1"/> @@ -10,3 +11,9 @@ </LayoutView> </NotFound> </Router> + +@code { + + public static WebAssemblyHost Host { get; set; } = null!; + +}