This commit is contained in:
taywon18 2024-09-22 16:57:48 +02:00
parent 7169561eaa
commit c7ce27a144
2 changed files with 1 additions and 4 deletions

View File

@ -5,9 +5,6 @@
@inject NavigationManager NavManager;
@inject IJSRuntime JS
<span class="numericvalue">test</span>
@if (CurrentPage is null)
{
<p>Page introuvable</p>

View File

@ -27,7 +27,7 @@ public class UserManager
{
ret = await ProtectedLocalStorage.GetAsync<User>("logged");
}
catch(InvalidOperationException ex) // statically rendered, not logged :)
catch // statically rendered, not logged :)
{
return null;
}