Skip to content

Commit

Permalink
feat: 불합격 버튼 확인 모달
Browse files Browse the repository at this point in the history
  • Loading branch information
lurgi committed Aug 12, 2024
1 parent 2820955 commit a53d6ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/components/appModal/ApplicantBaseInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ export default function ApplicantBaseInfo({ applicantId }: ApplicantBaseInfoProp
}));

const rejectAppHandler = () => {
rejectMutate({ applicantId });
close();
const isConfirmed = window.confirm('정말 해당 지원자를 불합격 하시겠습니까? 불합격은 번복할 수 없습니다.');

Check warning on line 45 in frontend/src/components/appModal/ApplicantBaseInfo/index.tsx

View workflow job for this annotation

GitHub Actions / run-test-pr-opened

Unexpected confirm

Check warning on line 45 in frontend/src/components/appModal/ApplicantBaseInfo/index.tsx

View workflow job for this annotation

GitHub Actions / run-test-pr-opened

Unexpected confirm

if (isConfirmed) {
rejectMutate({ applicantId });
close();
}
};

return (
Expand Down

0 comments on commit a53d6ee

Please sign in to comment.