diff --git a/web/src/components/exercises/MatchingPairs.tsx b/web/src/components/exercises/MatchingPairs.tsx index 5161477..862989b 100644 --- a/web/src/components/exercises/MatchingPairs.tsx +++ b/web/src/components/exercises/MatchingPairs.tsx @@ -62,7 +62,6 @@ export function MatchingPairs({ function handleRightClick(item: string) { if (isChecked || matchedRights.has(item)) return; - speak(item); setSelectedRight(item); if (selectedLeft) { diff --git a/web/src/components/exercises/MultipleChoice.tsx b/web/src/components/exercises/MultipleChoice.tsx index bea3759..488767b 100644 --- a/web/src/components/exercises/MultipleChoice.tsx +++ b/web/src/components/exercises/MultipleChoice.tsx @@ -24,7 +24,7 @@ export function MultipleChoice({ const { speak } = useSpeech(); function handleSelect(index: number) { - speak(exercise.choices[index]); + if (!exercise.promptAudio) speak(exercise.choices[index]); onSelect(index); }