This error occurs when I submit a form and execute the method:
I used dependency injection at the top:
@inject NavigationManager NavigationManagerBy the way, if I prefixed the method name with async, the error would not occur.
This is a Blazor web app running on .NET 8.0.
I checked this github issue#233, but I don't think it's the same as my problem.

