diff --git a/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx b/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx index db88e4a..8f44987 100644 --- a/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx +++ b/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx @@ -40,7 +40,7 @@ const SubmitModal = ({ isOpen, onClose }: Props) => { } getData(); - }, []); + }, [lectureId, practiceId, labId]); return isLoading ? null : (