From 5bf8cfbe0b3953ea91d6f7aaf6e60a659ce13c2f Mon Sep 17 00:00:00 2001 From: Mikayla Dobson <93477693+innocuous-symmetry@users.noreply.github.com> Date: Thu, 21 Jul 2022 16:30:04 -0500 Subject: [PATCH] radio button state works as intended. some cleanup --- src/components/Gameboard/Gameboard.tsx | 7 +- src/components/Gameboard/Nobles.tsx | 4 - src/components/Player/Player.tsx | 1 + src/util/GameConstructor.tsx | 127 +++++++++++++++++++++---- 4 files changed, 110 insertions(+), 29 deletions(-) diff --git a/src/components/Gameboard/Gameboard.tsx b/src/components/Gameboard/Gameboard.tsx index 13cd681..d8db50e 100644 --- a/src/components/Gameboard/Gameboard.tsx +++ b/src/components/Gameboard/Gameboard.tsx @@ -21,7 +21,7 @@ export default function Gameboard() { if (!players.length) { setView(
Please head back to the home page to start a fresh game.
Name: {data.name}
Score: {data.points}
+Is {data.starter || "not"} round starter