fix: specify correct AppAssembly in Router component
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m21s
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m21s
Routes component should reference TaxBaik.WasmClient._Imports.Assembly to properly locate all routable components in the WebAssembly context. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@namespace TaxBaik.WasmClient.Components.Admin
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
|
||||
<Router AppAssembly="@typeof(Program).Assembly">
|
||||
<Router AppAssembly="@typeof(TaxBaik.WasmClient._Imports).Assembly">
|
||||
<Found Context="routeData">
|
||||
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(TaxBaik.WasmClient.Components.Admin.Layout.MainLayout)">
|
||||
<NotAuthorized>
|
||||
|
||||
Reference in New Issue
Block a user