Merged in feature/level-file-upload (pull request #85)

Feature/level file upload
This commit is contained in:
carlos.mesquita
2024-09-03 15:46:39 +00:00
committed by Tiago Ribeiro
16 changed files with 143 additions and 96 deletions

View File

@@ -281,7 +281,7 @@ export default function ExamPage({page, user}: Props) {
}, [statsAwaitingEvaluation]);
useEffect(() => {
if (exam && exam.module === "level" && exam.parts[0].intro && !showSolutions) setBgColor("bg-ielts-level-light");
if (exam && exam.module === "level" && !showSolutions) setBgColor("bg-ielts-level-light");
}, [exam, showSolutions, setBgColor]);
const checkIfStatsHaveBeenEvaluated = (ids: string[]) => {