From 3dfa645101ff47dc760bff2a38c5c2359a4f28ea Mon Sep 17 00:00:00 2001 From: Daniel Harvey Date: Tue, 19 May 2026 00:07:22 -0400 Subject: [PATCH] style: replace fully-qualified AllowAnonymous with @using + short form in Home and TracksView --- DeepDrftWeb.Client/Pages/Home.razor | 3 ++- DeepDrftWeb.Client/Pages/TracksView.razor | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/DeepDrftWeb.Client/Pages/Home.razor b/DeepDrftWeb.Client/Pages/Home.razor index c5319c0..d6abe88 100644 --- a/DeepDrftWeb.Client/Pages/Home.razor +++ b/DeepDrftWeb.Client/Pages/Home.razor @@ -1,6 +1,7 @@ @page "/" @using DeepDrftWeb.Client.Services -@attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous] +@using Microsoft.AspNetCore.Authorization +@attribute [AllowAnonymous] Deep DRFT - Electronic Music Collective diff --git a/DeepDrftWeb.Client/Pages/TracksView.razor b/DeepDrftWeb.Client/Pages/TracksView.razor index cd64c2a..9babbc8 100644 --- a/DeepDrftWeb.Client/Pages/TracksView.razor +++ b/DeepDrftWeb.Client/Pages/TracksView.razor @@ -1,7 +1,7 @@ @page "/tracks" -@attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous] - +@using Microsoft.AspNetCore.Authorization @using DeepDrftWeb.Client.Controls +@attribute [AllowAnonymous] DeepDrft Track Gallery