Removed placeholders
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -56,7 +56,7 @@ export default function Listening({exam, showSolutions = false, onFinish}: Props
|
||||
</div>
|
||||
<div className="rounded-xl flex flex-col gap-4 items-center w-full h-fit">
|
||||
<AudioPlayer
|
||||
src="https://assets.mixkit.co/active_storage/sfx/213/213-preview.mp3"
|
||||
src={exam.audio.source}
|
||||
color="listening"
|
||||
onEnd={() => setTimesListened((prev) => prev + 1)}
|
||||
disabled={timesListened === exam.audio.repeatableTimes}
|
||||
|
||||
Reference in New Issue
Block a user