@using Blazored.LocalStorage; @inject ILocalStorageService localStorage; @inject SettingsService settings; @implements IDisposable An error occurred An error occurred If you're able to, contact a developer to get the issue fixed. You can also reload the page to try again. Not found Page Not Found Head back home? @code { protected override async Task OnInitializedAsync() { var settingsStr = await localStorage.GetItemAsync("settings"); if (settingsStr != null) { settings.Deserialize(settingsStr); } } protected override void OnInitialized() { settings.OnSettingsChanged += StateHasChanged; } public void Dispose() { settings.OnSettingsChanged -= StateHasChanged; } }
If you're able to, contact a developer to get the issue fixed. You can also reload the page to try again.