Skip to content

Commit

Permalink
Modify : 팀 삭제 리덕스 사가 에러 처리 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongHwan-dev committed Feb 9, 2022
1 parent b49a652 commit d232f90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/redux/modules/myTeam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ function* deleteTeamSaga(action: Action<number>) {

yield put(push('/projects/specialization/teams'));
} catch (error: any) {
yield put(fail(error.response.data));

Swal.fire({
title: '팀 삭제 처리 실패',
text: error.response.data.message,
Expand Down

0 comments on commit d232f90

Please sign in to comment.