From ef8fa091b98b80b0bbdfb05bfc7e8f289cd44e31 Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Fri, 20 Sep 2024 18:35:40 +0200 Subject: [PATCH] Update LoginBase.cs (#233) --- .../Auth/Pages/Base/LoginBase.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/AliasVault.Client/Auth/Pages/Base/LoginBase.cs b/src/AliasVault.Client/Auth/Pages/Base/LoginBase.cs index 6a8bc106d..707f5e7ac 100644 --- a/src/AliasVault.Client/Auth/Pages/Base/LoginBase.cs +++ b/src/AliasVault.Client/Auth/Pages/Base/LoginBase.cs @@ -25,49 +25,49 @@ public class LoginBase : OwningComponentBase /// Gets or sets the NavigationManager. /// [Inject] - public NavigationManager NavigationManager { get; set; } = null!; + public required NavigationManager NavigationManager { get; set; } /// /// Gets or sets the HttpClient. /// [Inject] - public HttpClient Http { get; set; } = null!; + public required HttpClient Http { get; set; } /// /// Gets or sets the AuthenticationStateProvider. /// [Inject] - public AuthenticationStateProvider AuthStateProvider { get; set; } = null!; + public required AuthenticationStateProvider AuthStateProvider { get; set; } /// /// Gets or sets the GlobalNotificationService. /// [Inject] - public GlobalNotificationService GlobalNotificationService { get; set; } = null!; + public required GlobalNotificationService GlobalNotificationService { get; set; } /// /// Gets or sets the IJSRuntime. /// [Inject] - public IJSRuntime Js { get; set; } = null!; + public required IJSRuntime Js { get; set; } /// /// Gets or sets the DbService. /// [Inject] - public DbService DbService { get; set; } = null!; + public required DbService DbService { get; set; } /// /// Gets or sets the AuthService. /// [Inject] - public AuthService AuthService { get; set; } = null!; + public required AuthService AuthService { get; set; } /// /// Gets or sets the LocalStorage. /// [Inject] - public ILocalStorageService LocalStorage { get; set; } = null!; + public required ILocalStorageService LocalStorage { get; set; } /// /// Parses the response content and displays the server validation errors.