Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
fix(submitmodal) : correctly redirect to desginated submit record
Browse files Browse the repository at this point in the history
  • Loading branch information
kasterra committed May 24, 2024
1 parent fcaca60 commit 88a8566
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}`
);
}}
>
<RadioGroup
Expand Down

0 comments on commit 88a8566

Please sign in to comment.