Skip to content

Commit

Permalink
fix: exam state null check
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 committed Sep 19, 2023
1 parent 27dd196 commit 24b9823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/thunks.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export function checkExamEntry() {
const { exam } = getState().examState;
// Check only applies to LTI exams
if (
!exam.attempt
!exam?.attempt
|| exam.attempt.exam_type !== ExamType.PROCTORED
|| exam.attempt.use_legacy_attempt_api
) { return; }
Expand Down

0 comments on commit 24b9823

Please sign in to comment.