From fe3a2f07e6404a40c3733758fa26ebf11096bc4d Mon Sep 17 00:00:00 2001 From: Joe DeCock Date: Fri, 16 Aug 2024 16:54:35 -0500 Subject: [PATCH] Remove unused usings in Blazor --- samples/Apis/Api.DPoP/EchoController.cs | 1 - samples/Blazor/PerComponent/PerComponent/Components/App.razor | 3 +-- .../PerComponent/Components/Layout/MainLayout.razor | 3 +-- .../Blazor/PerComponent/PerComponent/Components/Server.razor | 4 +--- samples/Blazor/PerComponent/PerComponent/Program.cs | 3 --- .../PersistingAuthenticationStateProvider.cs | 1 - src/Duende.Bff/General/DefaultAccessTokenRetriever.cs | 4 ---- 7 files changed, 3 insertions(+), 16 deletions(-) diff --git a/samples/Apis/Api.DPoP/EchoController.cs b/samples/Apis/Api.DPoP/EchoController.cs index ca0fcc34..2a770386 100644 --- a/samples/Apis/Api.DPoP/EchoController.cs +++ b/samples/Apis/Api.DPoP/EchoController.cs @@ -3,7 +3,6 @@ using Microsoft.AspNetCore.Mvc; using System; -using System.Globalization; using System.Security.Claims; using Microsoft.AspNetCore.Authorization; diff --git a/samples/Blazor/PerComponent/PerComponent/Components/App.razor b/samples/Blazor/PerComponent/PerComponent/Components/App.razor index ffab5a09..639688f9 100644 --- a/samples/Blazor/PerComponent/PerComponent/Components/App.razor +++ b/samples/Blazor/PerComponent/PerComponent/Components/App.razor @@ -1,5 +1,4 @@ -@using Microsoft.AspNetCore.Components.Authorization - + diff --git a/samples/Blazor/PerComponent/PerComponent/Components/Layout/MainLayout.razor b/samples/Blazor/PerComponent/PerComponent/Components/Layout/MainLayout.razor index 6cd62969..ca257029 100644 --- a/samples/Blazor/PerComponent/PerComponent/Components/Layout/MainLayout.razor +++ b/samples/Blazor/PerComponent/PerComponent/Components/Layout/MainLayout.razor @@ -1,5 +1,4 @@ -@using PerComponent.Components -@inherits LayoutComponentBase +@inherits LayoutComponentBase