@inherits LayoutComponentBase @using Blazored.LocalStorage @using MatrixRoomUtils.Web.Classes @inject ILocalStorageService LocalStorage @inject NavigationManager NavigationManager
@Body
@code { protected override async Task OnInitializedAsync() { if (!RuntimeStorage.WasLoaded) { await RuntimeStorage.LoadFromLocalStorage(LocalStorage); Console.WriteLine("Loaded from local storage"); StateHasChanged(); } } }