Skip to content

Commit

Permalink
fix: 지원자 상세 정보 모달에서 불합격 처리 훅 호출 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seongjinme committed Aug 13, 2024
1 parent 29585ad commit 4066119
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/appModal/ApplicantBaseInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ interface ApplicantBaseInfoProps {
}

export default function ApplicantBaseInfo({ applicantId }: ApplicantBaseInfoProps) {
const { data: applicantBaseInfo, isLoading: isBaseInfoLoading } = specificApplicant.useGetBaseInfo({ applicantId });
const { mutate: rejectMutate } = specificApplicant.useRejectApplicant();
const { dashboardId, postId } = useParams() as { dashboardId: string; postId: string };
const { mutate: rejectMutate } = specificApplicant.useRejectApplicant({ dashboardId, postId });
const { processList, isLoading: isProcessLoading } = useProcess({ dashboardId, postId });

const { data: applicantBaseInfo, isLoading: isBaseInfoLoading } = specificApplicant.useGetBaseInfo({ applicantId });
const { moveApplicantProcess } = useApplicant({ applicantId });
const { close } = useModal();

Expand Down

0 comments on commit 4066119

Please sign in to comment.