Bugfix related to the listening audio
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user