Skip to content

Commit

Permalink
fix: load right number of submissions left on initialization in instr…
Browse files Browse the repository at this point in the history
…uctor view if there is submission limit.
  • Loading branch information
mpetojevic committed Nov 12, 2024
1 parent 13bfb05 commit 67328b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/assignment/assignment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export const AssignmentComponent = () => {
refetchSubleft();
});
}
}, [lecture, assignment, submissions]);
}, [lecture, assignment]);

if (
isLoadingAssignment ||
Expand Down

0 comments on commit 67328b1

Please sign in to comment.