@inject NavigationManager N<button type="button" @onclick="Nav">test</button> @code{ private void Nav() { N.NavigateTo("/t"); }}I have the razor file with @page "/t".
I clicked the test button, but nothing happened - why?