diff --git a/DragonFruit.Sakura/Administration/AuthenticationManager.razor b/DragonFruit.Sakura/Administration/AuthenticationManager.razor index 9c15da0..c6f8e4a 100644 --- a/DragonFruit.Sakura/Administration/AuthenticationManager.razor +++ b/DragonFruit.Sakura/Administration/AuthenticationManager.razor @@ -13,6 +13,6 @@ @code { [Parameter] - public string? Action { get; set; } + public string Action { get; set; } } \ No newline at end of file diff --git a/DragonFruit.Sakura/Administration/Changelogs.razor b/DragonFruit.Sakura/Administration/Changelogs.razor index 28ad092..36bc71f 100644 --- a/DragonFruit.Sakura/Administration/Changelogs.razor +++ b/DragonFruit.Sakura/Administration/Changelogs.razor @@ -56,7 +56,7 @@ } + OnClick="async () => await DeleteModification(modification)"> Delete diff --git a/DragonFruit.Sakura/Administration/Index.razor.cs b/DragonFruit.Sakura/Administration/Index.razor.cs index b98a684..165db78 100644 --- a/DragonFruit.Sakura/Administration/Index.razor.cs +++ b/DragonFruit.Sakura/Administration/Index.razor.cs @@ -5,7 +5,6 @@ using DragonFruit.Sakura.Network; using DragonFruit.Sakura.Network.Requests; using Microsoft.AspNetCore.Components; -using Microsoft.AspNetCore.Components.WebAssembly.Authentication; namespace DragonFruit.Sakura.Administration { @@ -16,12 +15,6 @@ public partial class Index [Inject] private ApiClient Client { get; set; } - [Inject] - private NavigationManager Navigation { get; set; } - - [Inject] - private SignOutSessionStateManager SignOutManager { get; set; } - private IReadOnlyList Apps { get; set; } private AppFeatures SelectedAppFeature diff --git a/DragonFruit.Sakura/Common/Components/SakuraSubheading.razor b/DragonFruit.Sakura/Common/Components/SakuraSubheading.razor index dddc53a..e0ebd31 100644 --- a/DragonFruit.Sakura/Common/Components/SakuraSubheading.razor +++ b/DragonFruit.Sakura/Common/Components/SakuraSubheading.razor @@ -23,6 +23,6 @@ public string Colour { get; set; } [Parameter] - public RenderFragment? IconHtml { get; set; } + public RenderFragment IconHtml { get; set; } } \ No newline at end of file