Skip to content

Commit

Permalink
Add log to console window
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmendie committed Jan 28, 2024
1 parent cda7ca3 commit 5ab45cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@
{
<DynamicComponent Type="@CurrentPageRoute"
Parameters="@ApplicationRoutes[CurrentPageRoute.Name]?.ComponentParameters" />
}
else
{
<h5 style="color:lightslategray;text-align:center;">No matching routable component found</h5>
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ protected override void OnParametersSet()
{
CurrentPageRoute = NavigatorContainer.CurrentPageRoute;
ApplicationRoutes = NavigatorRegistry.ApplicationRoutes;

if (CurrentPageRoute is null)
{
Console.WriteLine("No routable component found");
}
}
}
}

0 comments on commit 5ab45cf

Please sign in to comment.