Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StateHAsChanged to InvokeAsync #220

Open
scottroot2 opened this issue Jan 5, 2023 · 0 comments
Open

StateHAsChanged to InvokeAsync #220

scottroot2 opened this issue Jan 5, 2023 · 0 comments

Comments

@scottroot2
Copy link

It was required that I update my ChatRoom.razor code on line 120 to wrap within an InvokeAsync() call.

InvokeAsync(() => StateHasChanged());

I am unsure if that is due to my usage of .NET 7 or something else, but at least wanted to mention that it may be a quick fix for those using these samples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant