Skip to content

Commit

Permalink
fix: exam state null check (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 authored Sep 20, 2023
1 parent 27dd196 commit 60cdeb6
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 60cdeb6

Please sign in to comment.