diff --git a/frontend/src/pages/ttt/ttt.ts b/frontend/src/pages/ttt/ttt.ts index 360bf2c..4e068e2 100644 --- a/frontend/src/pages/ttt/ttt.ts +++ b/frontend/src/pages/ttt/ttt.ts @@ -51,7 +51,7 @@ async function handleTTT(): Promise { socket.emit('enqueue'); const cells = app.querySelectorAll(".ttt-cell"); - const grid = app.querySelector(".ttt-grid"); // Not sure about this one + // const grid = app.querySelector(".ttt-grid"); // Not sure about this one const updateUI = (boardState: (string | null)[]) => { boardState.forEach((state, idx) => { @@ -95,7 +95,7 @@ async function handleTTT(): Promise { updateUI(u.boardState); if (u.gameState && u.gameState !== "ongoing") { - grid?.classList.add("pointer-events-none"); + // grid?.classList.add("pointer-events-none"); if (u.gameState !== curGame.lastState) { curGame.lastState = u.gameState;