@inherits LayoutComponentBase @using AyCode.Core.Extensions @using AyCode.Interfaces.StorageHandlers; @using AyCode.Services.Loggers @using Newtonsoft.Json; @using TIAMSharedUI.Pages @using TIAMSharedUI.Shared.Components @using TIAMWebApp.Shared.Application.Interfaces @using TIAMWebApp.Shared.Application.Models.ClientSide; @using AyCode.Blazor.Components; @using TIAMWebApp.Shared.Application.Models; @using TIAMWebApp.Shared.Application.Utility; @using System.IdentityModel.Tokens.Jwt; @using System.Runtime.CompilerServices @using TIAM.Core.Loggers; @using System.Diagnostics @using AyCode.Utils.Extensions @inject NavigationManager NavManager @inject IJSRuntime jsRuntime @inject ISecureStorageHandler SecureStorageHandler @inject IEnumerable LogWriters
@Body
@* *@
@code { public PopupMessageBox PopupMessageBox { get; private set; } = default!; private void HandleError(Exception exception) => jsRuntime.InvokeVoidAsync("alert", "An unexpected error occurred. Please try again later."); }