Updated the times listened to not be global
This commit is contained in:
@@ -95,6 +95,7 @@ export default function Listening({exam, showSolutions = false, onFinish}: Props
|
||||
|
||||
if (partIndex + 1 < exam.parts.length && !hasExamEnded) {
|
||||
setPartIndex(partIndex + 1);
|
||||
setTimesListened(0);
|
||||
setExerciseIndex(showSolutions ? 0 : -1);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user