@page "/"
@inject NavigationManager Navigation

@code
{
    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
        {
            Navigation.NavigateTo("/dashboard");
        }

        await base.OnAfterRenderAsync(firstRender);
    }
}
