Skip to content

Commit

Permalink
Update submission redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
junhonglow committed Apr 14, 2024
1 parent 44c8106 commit 79cf851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/assignments/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function Page({ params }: Props) {
};

const redirectToSubmissionPage = () => {
router.push(`/assignments/${params.id}/submission`);
router.push(`/assignments/${params.id}/submission?studentId=${user?.uid}`);
};

const handleDeleteAssignment = (closeModal: () => void) => {
Expand Down

0 comments on commit 79cf851

Please sign in to comment.