diff --git a/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx b/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx index 22aa182..e2655f0 100644 --- a/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx +++ b/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx @@ -101,7 +101,11 @@ const SubmitModal = ({ isOpen, onClose }: Props) => { } formData.append("code", code); await submit(auth.token, labId!, formData); - navigate(`/students/${lectureId}/${practiceId}/history`); + navigate( + `/students/${lectureId}/${practiceId}/history?problemId=${ + problemDetail!.id + }` + ); }} >