diff options
Diffstat (limited to 'MatrixRoomUtils.Web/_Imports.razor')
-rw-r--r-- | MatrixRoomUtils.Web/_Imports.razor | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/MatrixRoomUtils.Web/_Imports.razor b/MatrixRoomUtils.Web/_Imports.razor index a558b8f..837780e 100644 --- a/MatrixRoomUtils.Web/_Imports.razor +++ b/MatrixRoomUtils.Web/_Imports.razor @@ -17,14 +17,12 @@ @code { - - protected override async Task OnInitializedAsync() - { - if (!RuntimeCache.WasLoaded) - { + + protected override async Task OnInitializedAsync() { + if (!RuntimeCache.WasLoaded) { await LocalStorageWrapper.LoadFromLocalStorage(LocalStorage); Console.WriteLine("Loaded from local storage"); StateHasChanged(); } } -} +} \ No newline at end of file |