about summary refs log tree commit diff
path: root/MatrixUtils.Web/App.razor
diff options
context:
space:
mode:
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!; + +}