diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-05-03 20:42:20 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-05-03 20:42:20 +0200 |
commit | b02fb81a56bd94b38fdb26771c3e591419f0f49c (patch) | |
tree | 617538d36ff9be9ba0f5d13cb6076b02f017a91b /MatrixRoomUtils.Web/Shared/MainLayout.razor | |
parent | Refactor (diff) | |
download | MatrixUtils-b02fb81a56bd94b38fdb26771c3e591419f0f49c.tar.xz |
Small refactoring
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/MainLayout.razor')
-rw-r--r-- | MatrixRoomUtils.Web/Shared/MainLayout.razor | 12 |
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 |