From 119e9311a42bf92e3a0b3f421399e5311f15cc35 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Thu, 15 Sep 2022 00:14:12 +0400 Subject: [PATCH] fix unisex thing --- src/games/sub-cores/UnisexNounGame.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/games/sub-cores/UnisexNounGame.tsx b/src/games/sub-cores/UnisexNounGame.tsx index 332e9e6..a7521de 100644 --- a/src/games/sub-cores/UnisexNounGame.tsx +++ b/src/games/sub-cores/UnisexNounGame.tsx @@ -48,9 +48,6 @@ export default function UnisexNounGame({ id, link, inChapter }: { inChapter: boo } function Display({ question, callback }: QuestionDisplayProps) { - function flipGender(g: T.Gender): T.Gender { - return g === "masc" ? "fem" : "masc"; - } const [answer, setAnswer] = useState(""); const infOut = inflectWord(question.entry); if (!infOut) return
WORD ERROR
; @@ -141,3 +138,7 @@ export default function UnisexNounGame({ id, link, inChapter }: { inChapter: boo Instructions={Instructions} /> }; + +function flipGender(g: T.Gender): T.Gender { + return g === "masc" ? "fem" : "masc"; +}