From e9aec6704f66529d9739b9c3ed2ae0282be1002b Mon Sep 17 00:00:00 2001 From: Aaron Delasy Date: Fri, 25 Oct 2024 15:13:47 +0300 Subject: [PATCH] Fix compilation issues in playground --- app/playground/page.tsx | 63 +++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/app/playground/page.tsx b/app/playground/page.tsx index 0b0816e..0d9cf3b 100644 --- a/app/playground/page.tsx +++ b/app/playground/page.tsx @@ -273,35 +273,37 @@ export default function PlaygroundPage() { - - Playground - -
- {/* Left side: Grid */} -
- - {!visualizing && !userPlaying && ( -

- Click on the board to place or remove units. Use the buttons - below to switch between unit types. -

- )} - {!visualizing && userPlaying && ( -

- Place a player (P) and blocks (B) on the board to create your - escape route. Click to toggle between empty, player, and block. -

- )} -
- {visualizing && ( - + + Playground + +
+ {/* Left side: Grid */} +
+ + {!visualizing && !userPlaying && ( +

+ Click on the board to place or remove units. Use the buttons + below to switch between unit types. +

+ )} + {!visualizing && userPlaying && ( +

+ Place a player (P) and blocks (B) on the board to create your + escape route. Click to toggle between empty, player, and + block. +

+ )} +
+ {visualizing && ( + + )} {!visualizing && (
@@ -518,8 +520,7 @@ export default function PlaygroundPage() {
-
- + ); }