protected override async Task OnInitializedAsync()
        {
            // Subscribe to the StateChanged EventHandler
            AppState.StateChanged +=
                AppStateHasChanged;


            System.Console.WriteLine("Main Layout Initialized");

            AppState.IsMobile = await BrowserService.CheckIsMobile();

            System.Console.WriteLine("Main Layout Initialized 2");

            AppState.StateHasChanged();

            System.Console.WriteLine("Sections Initialized");
        }