Skip to content

Commit

Permalink
Merge pull request #34 from edx/rijuma/cast-prop-as-int
Browse files Browse the repository at this point in the history
fix: Cast prop as number to avoid warning log
  • Loading branch information
rijuma authored Jul 18, 2024
2 parents d9da54d + 97b3073 commit ec95af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ExamsPage/components/AttemptList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const ReviewModal = (row) => (
examName={row.original.exam_name}
attemptId={row.original.attempt_id}
attemptStatus={row.original.status}
severity={row.original.severity}
severity={+row.original.severity || 0}
submissionReason={row.original.submission_reason}
/>
);
Expand Down

0 comments on commit ec95af1

Please sign in to comment.