Bugfix related to the listening audio

This commit is contained in:
Tiago Ribeiro
2024-12-31 15:47:26 +00:00
parent 26fa1691c4
commit af9f70880a
2 changed files with 2 additions and 3 deletions

View File

@@ -36,7 +36,6 @@ export default function ExamPage({ page, user, destination = "/", hideSidebar =
const [avoidRepeated, setAvoidRepeated] = useState(false);
const [showAbandonPopup, setShowAbandonPopup] = useState(false);
const [pendingExercises, setPendingExercises] = useState<string[]>([]);
const [shouldPoll, setShouldPoll] = useState(false);
const {
exam, setExam,
@@ -150,7 +149,7 @@ export default function ExamPage({ page, user, destination = "/", hideSidebar =
if (flags.finalizeExam && moduleIndex !== -1) {
setModuleIndex(-1);
}
}, [flags.finalizeExam, moduleIndex, setModuleIndex]);