From f94924d60b40b179c052e1d1cd923725e396385b Mon Sep 17 00:00:00 2001 From: sawa3030 Date: Mon, 25 Mar 2024 15:15:58 +0900 Subject: [PATCH] minor change --- learn/src/components/PracticeTouch.tsx | 74 +++++++++++++------------- 1 file changed, 36 insertions(+), 38 deletions(-) diff --git a/learn/src/components/PracticeTouch.tsx b/learn/src/components/PracticeTouch.tsx index 307e8e62..9f9e8f0e 100644 --- a/learn/src/components/PracticeTouch.tsx +++ b/learn/src/components/PracticeTouch.tsx @@ -26,45 +26,43 @@ export default function PracticeTouch({ const answerMessage = rightOrWrong ? "正解" : "不正解"; return ( - <> -
- {question} -
-
- {brailleStrings.map((brailleChar, i) => ( - { - setBrailleStrings( - new BrailleArray( - brailleStrings.map((_, j) => (j === i ? braille : _)), - ), - ); - }} - /> - ))} -
- - {/*
*/} - - {visible === true && answerMessage} +
+ {question} +
+
+ {brailleStrings.map((brailleChar, i) => ( + { + setBrailleStrings( + new BrailleArray( + brailleStrings.map((_, j) => (j === i ? braille : _)), + ), + ); + }} + /> + ))}
- + + {/*
*/} + + {visible === true && answerMessage} +
); }