Missed some console.logs
This commit is contained in:
@@ -349,8 +349,6 @@ export default function ExamPage({ page }: Props) {
|
|||||||
const solutionExams = solutions.map((x) => x.exam);
|
const solutionExams = solutions.map((x) => x.exam);
|
||||||
|
|
||||||
let newSolutions = [...solutions];
|
let newSolutions = [...solutions];
|
||||||
console.log("ON finish CALLEDDDDDDDDDDDDDDDDDDDDDDDDDDDD");
|
|
||||||
console.log(newSolutions);
|
|
||||||
|
|
||||||
if (exam && !solutionExams.includes(exam.id)) return;
|
if (exam && !solutionExams.includes(exam.id)) return;
|
||||||
|
|
||||||
@@ -481,7 +479,6 @@ export default function ExamPage({ page }: Props) {
|
|||||||
const indexB = exerciseOrderMap.get(b.exercise) ?? Infinity;
|
const indexB = exerciseOrderMap.get(b.exercise) ?? Infinity;
|
||||||
return indexA - indexB;
|
return indexA - indexB;
|
||||||
});
|
});
|
||||||
console.log(orderedSolutions);
|
|
||||||
setUserSolutions(orderedSolutions);
|
setUserSolutions(orderedSolutions);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user