Prepared the code to later handle the evaluation of the Interactive Speaking exercise
This commit is contained in:
@@ -62,7 +62,7 @@ const ExamLoader = () => {
|
||||
setIsLoading(true);
|
||||
|
||||
if (selectedModule && examId) {
|
||||
const exam = await getExamById(selectedModule, examId);
|
||||
const exam = await getExamById(selectedModule, examId.trim());
|
||||
if (!exam) {
|
||||
toast.error("Unknown Exam ID! Please make sure you selected the right module and entered the right exam ID", {
|
||||
toastId: "invalid-exam-id",
|
||||
|
||||
Reference in New Issue
Block a user