Fixed a bug in the Listening exam
This commit is contained in:
@@ -108,6 +108,7 @@ export default function Listening({exam, showSolutions = false, onFinish}: Props
|
|||||||
</div>
|
</div>
|
||||||
<div className="rounded-xl flex flex-col gap-4 items-center w-full h-fit">
|
<div className="rounded-xl flex flex-col gap-4 items-center w-full h-fit">
|
||||||
<AudioPlayer
|
<AudioPlayer
|
||||||
|
key={partIndex}
|
||||||
src={exam.parts[partIndex].audio.source}
|
src={exam.parts[partIndex].audio.source}
|
||||||
color="listening"
|
color="listening"
|
||||||
onEnd={() => setTimesListened((prev) => prev + 1)}
|
onEnd={() => setTimesListened((prev) => prev + 1)}
|
||||||
|
|||||||
Reference in New Issue
Block a user