From 041be33c754236c5181b614bfd6ea4ea15e292d0 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Mon, 5 Sep 2022 18:10:39 +0400 Subject: [PATCH] ui touchup --- src/games/GameCore.tsx | 14 ++++++++------ src/games/sub-cores/GenderGame.tsx | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/games/GameCore.tsx b/src/games/GameCore.tsx index 59cd870..9b880cf 100644 --- a/src/games/GameCore.tsx +++ b/src/games/GameCore.tsx @@ -268,11 +268,13 @@ function GameCore({ inChapter, getQuestion, amount, Display, DisplayCo
}
- {state.mode === "test" && } - {state.mode === "practice" && } + {state.mode === "test" + ? + : state.mode === "practice" ? + :
}
{state.mode === "test" && ({ inChapter, getQuestion, amount, Display, DisplayCo
}
-
+
{state.mode === "intro" &&
{/* TODO: ADD IN TEXT DISPLAY OPTIONS HERE TOO - WHEN WE START USING THEM*/} diff --git a/src/games/sub-cores/GenderGame.tsx b/src/games/sub-cores/GenderGame.tsx index 4637205..6199e8f 100644 --- a/src/games/sub-cores/GenderGame.tsx +++ b/src/games/sub-cores/GenderGame.tsx @@ -81,7 +81,7 @@ const exceptions: Record = { }, }; -const amount = 30; +const amount = 25; type Question = T.DictionaryEntry; export default function GenderGame({level, id, link, inChapter }: {