Skip to content

Commit

Permalink
feat: 10명 이상인 프로젝트에 참여하려할 시 프로젝트 페이지로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
surinkwon committed Jun 23, 2024
1 parent 207ff28 commit e707bad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/pages/invite/InvitePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const InvitePage = () => {
alert("이미 참여한 프로젝트입니다.");
navigate(`/projects/${response.data.projectId}`);
break;
case 409:
alert("정원 초과로 참여할 수 없습니다.");
navigate(`/projects`);
break;
}
};

Expand Down

0 comments on commit e707bad

Please sign in to comment.