+
{answer.userAnsweredCorrectly === true && (
<>
@@ -43,18 +43,17 @@ export default function GameAnwerExplanation({ questionId }) {
)}
C'est un risque
{answerExplanation}
+
{
+ setCurrentGameModal(null);
+ checkIfGameIsComplete();
+ }}
+ className='continue-game cta cta--construction cta--round cta--button-icon cta--next'
+ />
-
+
-
-
{
- setCurrentGameModal(null);
- checkIfGameIsComplete();
- }}
- className='continue-game cta cta--construction cta--round cta--button-icon cta--next'
- />
);
}
diff --git a/src/components/game/GameQuestion.jsx b/src/components/game/GameQuestion.jsx
index a3f5b53..8ac6013 100644
--- a/src/components/game/GameQuestion.jsx
+++ b/src/components/game/GameQuestion.jsx
@@ -12,9 +12,8 @@ export default function GameQuestion({ questionId, correctAnswer }, ...props) {
}
return (
-
- {correctAnswer}
-
+
+
Trouvé !
securisé ou risqué ?
@@ -22,20 +21,23 @@ export default function GameQuestion({ questionId, correctAnswer }, ...props) {
Est-ce que la situation comporte un risque majeur ou identifiez vous un bon
comportement ?
-
+
handleAnswer(questionId, "safe")}>
handleAnswer(questionId, "unsafe")}>
+
{correctAnswer}
+
+
+
-
);
}