How to fix 'The current thread is not associated with the renderer's synchronization context'?
问题 I am trying to change change a string, being used for a title, in my blazor-server-side application. But I am having trouble getting the UI to update. I tried using StateHasChanged(), but that didn't work so I looked around and found that on the FlightFinder Demo that was made, it has an OnChange event Action, so I am trying to implement that. It works until I try to refresh the browser, then I am hit with this error System.InvalidOperationException: 'The current thread is not associated with