From cce562a1f7db153c75633e61c74ce42fd4436422 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 9 Jan 2026 11:32:36 +0000 Subject: [PATCH] Changes --- src/pages/Tetris.tsx | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/src/pages/Tetris.tsx b/src/pages/Tetris.tsx index c60a7d9..972ec3e 100644 --- a/src/pages/Tetris.tsx +++ b/src/pages/Tetris.tsx @@ -679,16 +679,18 @@ const Tetris = () => { {/* P1 Next Piece */} -
-

P1 NEXT

-
- {player1.nextPiece.shape.map((row, y) => ( -
- {row.map((val, x) => ( -
- ))} -
- ))} +
+

Next

+
+
+ {player1.nextPiece.shape.map((row, y) => ( +
+ {row.map((val, x) => ( +
+ ))} +
+ ))} +
@@ -726,16 +728,18 @@ const Tetris = () => {
{/* P2 Next Piece */} -
-

P2 NEXT

-
- {player2.nextPiece.shape.map((row, y) => ( -
- {row.map((val, x) => ( -
- ))} -
- ))} +
+

Next

+
+
+ {player2.nextPiece.shape.map((row, y) => ( +
+ {row.map((val, x) => ( +
+ ))} +
+ ))} +