diff --git a/features/c4game/pages/game.templ b/features/c4game/pages/game.templ index c175b42..c5d9f11 100644 --- a/features/c4game/pages/game.templ +++ b/features/c4game/pages/game.templ @@ -1,13 +1,14 @@ package pages import ( + "fmt" + "github.com/ryanhamamura/games/chat" chatcomponents "github.com/ryanhamamura/games/chat/components" "github.com/ryanhamamura/games/connect4" "github.com/ryanhamamura/games/features/c4game/components" sharedcomponents "github.com/ryanhamamura/games/features/common/components" "github.com/ryanhamamura/games/features/common/layouts" - "github.com/starfederation/datastar-go/datastar" ) templ GamePage(g *connect4.Game, myColor int, messages []chat.Message, chatCfg chatcomponents.Config) { @@ -15,7 +16,7 @@ templ GamePage(g *connect4.Game, myColor int, messages []chat.Message, chatCfg c
@GameContent(g, myColor, messages, chatCfg)
diff --git a/features/snakegame/pages/game.templ b/features/snakegame/pages/game.templ index c7cc9c4..378690c 100644 --- a/features/snakegame/pages/game.templ +++ b/features/snakegame/pages/game.templ @@ -33,7 +33,7 @@ templ GamePage(sg *snake.SnakeGame, mySlot int, messages []chat.Message, chatCfg