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.