diff --git a/src/components/Exercises/Speaking.tsx b/src/components/Exercises/Speaking.tsx index 82d93d65..91eb38cd 100644 --- a/src/components/Exercises/Speaking.tsx +++ b/src/components/Exercises/Speaking.tsx @@ -154,6 +154,7 @@ export default function Speaking({id, title, text, type, prompts, onNext, onBack onClick={() => { setRecordingDuration(0); clearBlobUrl(); + setMediaBlob(undefined); }} /> @@ -163,6 +164,7 @@ export default function Speaking({id, title, text, type, prompts, onNext, onBack setRecordingDuration(0); startRecording(); setIsRecording(true); + setMediaBlob(undefined); }} className="h-5 w-5 text-mti-gray-cool cursor-pointer" /> diff --git a/src/exams/Listening.tsx b/src/exams/Listening.tsx index 65599c64..ac7f0a88 100644 --- a/src/exams/Listening.tsx +++ b/src/exams/Listening.tsx @@ -56,7 +56,7 @@ export default function Listening({exam, showSolutions = false, onFinish}: Props
setTimesListened((prev) => prev + 1)} disabled={timesListened === exam.audio.repeatableTimes}