Only hooked up the section state had forgot to plugin into Header's isEvaluationEnabled

This commit is contained in:
Carlos-Mesquita
2024-11-12 15:10:23 +00:00
parent 49c63544a1
commit 311036fe86
17 changed files with 16 additions and 23 deletions

View File

@@ -156,7 +156,7 @@ const MatchSentences: React.FC<{ exercise: MatchSentencesExercise, sectionId: nu
handleDelete={handleDelete}
handleDiscard={handleDiscard}
handlePractice={handlePractice}
isEvaluationEnabled={true}
isEvaluationEnabled={!local.isPractice}
>
<button
onClick={() => setShowReference(!showReference)}