Made it so the timer is more dynamic

This commit is contained in:
Tiago Ribeiro
2023-07-27 20:25:57 +01:00
parent d38ca76182
commit d879f4afab
7 changed files with 88 additions and 11 deletions

View File

@@ -203,8 +203,6 @@ export default function Page() {
const solutionIds = solutions.map((x) => x.exercise);
const solutionExams = solutions.map((x) => x.exam);
console.log(solutionExams, exam?.id, moduleIndex, selectedModules);
if (exam && !solutionExams.includes(exam.id)) return;
if (exam && (exam.module === "writing" || exam.module === "speaking") && solutions.length > 0 && !showSolutions) {