1 files changed, 0 insertions, 12 deletions
diff --git a/MatrixRoomUtils.Web/Shared/MainLayout.razor b/MatrixRoomUtils.Web/Shared/MainLayout.razor
index ae7c3f5..055cec7 100644
--- a/MatrixRoomUtils.Web/Shared/MainLayout.razor
+++ b/MatrixRoomUtils.Web/Shared/MainLayout.razor
@@ -1,7 +1,4 @@
@inherits LayoutComponentBase
-
-@using Blazored.LocalStorage
-@using MatrixRoomUtils.Web.Classes
@inject ILocalStorageService LocalStorage
@inject NavigationManager NavigationManager
@@ -23,14 +20,5 @@
@code {
- protected override async Task OnInitializedAsync()
- {
- if (!LocalStorageWrapper.WasLoaded)
- {
- await LocalStorageWrapper.LoadFromLocalStorage(LocalStorage);
- Console.WriteLine("Loaded from local storage");
- StateHasChanged();
- }
- }
}
\ No newline at end of file
|