Skip to content

Commit

Permalink
fix(grading-field): pass new question id properly
Browse files Browse the repository at this point in the history
- old value was stale
  • Loading branch information
syoopie authored and cysjonathan committed Sep 24, 2024
1 parent 20917b6 commit 37a9e60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const QuestionGrade: FC<QuestionGradeProps> = (props) => {
): void => {
const newQuestionWithGrades = {
...oldQuestions,
[questionId]: {
[id]: {
...oldQuestions[id],
grade: newGrade,
autofilled: false,
Expand Down

0 comments on commit 37a9e60

Please sign in to comment.