@page "/"
@inherits MainBase

@code {
    private const string DefaultRedirectUri = "/credentials";

    /// <inheritdoc />
    protected override async Task OnInitializedAsync()
    {
        await base.OnInitializedAsync();

        // Navigate to the default entry page.
        Console.WriteLine("Navigating to default entry page");
        NavigationManager.NavigateTo(DefaultRedirectUri);
    }
}
