Updated the Listening format to work
This commit is contained in:
@@ -55,7 +55,7 @@ export default function Finish({user, scores, modules, isLoading, onViewResults}
|
||||
|
||||
const getTotalExercises = () => {
|
||||
const exam = exams.find((x) => x.module === selectedModule)!;
|
||||
if (exam.module === "reading") {
|
||||
if (exam.module === "reading" || exam.module === "listening") {
|
||||
return exam.parts.flatMap((x) => x.exercises).length;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user