diff --git a/src/AzureIoTHub.Portal.Client/App.razor b/src/AzureIoTHub.Portal.Client/App.razor index fba280a04..87a059950 100644 --- a/src/AzureIoTHub.Portal.Client/App.razor +++ b/src/AzureIoTHub.Portal.Client/App.razor @@ -1,32 +1,29 @@ -@using Blazored.Modal @using Microsoft.AspNetCore.Authorization @attribute [Authorize] - - - - - - @if (!context.User.Identity.IsAuthenticated) - { - - } - else - { - You are not authorized to access this resource. - } - - - - - Not found - - Sorry, there's nothing at this address. - - - - + + + + + @if (!context.User.Identity.IsAuthenticated) + { + + } + else + { + You are not authorized to access this resource. + } + + + + + Not found + + Sorry, there's nothing at this address. + + + diff --git a/src/AzureIoTHub.Portal.Client/AzureIoTHub.Portal.Client.csproj b/src/AzureIoTHub.Portal.Client/AzureIoTHub.Portal.Client.csproj index c762532ed..b53616234 100644 --- a/src/AzureIoTHub.Portal.Client/AzureIoTHub.Portal.Client.csproj +++ b/src/AzureIoTHub.Portal.Client/AzureIoTHub.Portal.Client.csproj @@ -1,4 +1,4 @@ - + net7.0 @@ -9,7 +9,6 @@ - diff --git a/src/AzureIoTHub.Portal.Client/Program.cs b/src/AzureIoTHub.Portal.Client/Program.cs index 1d99c4214..f4cd8a767 100644 --- a/src/AzureIoTHub.Portal.Client/Program.cs +++ b/src/AzureIoTHub.Portal.Client/Program.cs @@ -8,7 +8,6 @@ using AzureIoTHub.Portal.Models.v10; using AzureIoTHub.Portal.Settings; using Blazored.LocalStorage; -using Blazored.Modal; using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components.WebAssembly.Authentication; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; @@ -60,7 +59,6 @@ _ = builder.Services.AddFileReaderService(o => o.UseWasmSharedBuffer = true); _ = builder.Services.AddBlazoredLocalStorage(); -_ = builder.Services.AddBlazoredModal(); _ = builder.Services.AddMudServices(config => { config.SnackbarConfiguration.PositionClass = Defaults.Classes.Position.BottomLeft;
You are not authorized to access this resource.
Sorry, there's nothing at this address.