From 513467470c90cb13c9b152c832b50e738dbdb0eb Mon Sep 17 00:00:00 2001 From: Ryan Hamamura <58859899+ryanhamamura@users.noreply.github.com> Date: Tue, 3 Mar 2026 09:15:42 -1000 Subject: [PATCH] Revert "fix: append chat messages instead of re-rendering entire game" This reverts commit 6976b773bdbd3bf0e461062e8d6a72a67e157c98. --- chat/components/chat.templ | 19 +++++++------------ features/c4game/handlers.go | 9 ++------- features/snakegame/handlers.go | 9 ++------- 3 files changed, 11 insertions(+), 26 deletions(-) diff --git a/chat/components/chat.templ b/chat/components/chat.templ index 326bd3e..f2d02fe 100644 --- a/chat/components/chat.templ +++ b/chat/components/chat.templ @@ -23,21 +23,16 @@ type Config struct { StopKeyPropagation bool } -// ChatMessage renders a single chat message. Used for appending new messages via SSE. -templ ChatMessage(m chat.Message, cfg Config) { -