From 60eb8edbac9fb54ec956841fb849e6ff7ea8c2fc Mon Sep 17 00:00:00 2001 From: Inga Date: Sat, 7 Dec 2024 01:43:41 +0000 Subject: [PATCH] used templates for new cells instead of manually creating new button on frontend; removed unused optimization --- src/backend/components/boardgame.tsx | 5 ++++- src/frontend/components/board-game.ts | 23 +++++------------------ 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/src/backend/components/boardgame.tsx b/src/backend/components/boardgame.tsx index b9bacc7..22c889c 100644 --- a/src/backend/components/boardgame.tsx +++ b/src/backend/components/boardgame.tsx @@ -91,6 +91,7 @@ export const getBoardgameHtml = (key: string, gameState: BoardgameStateType, gam ), + "game-cell":