Skip to content

Commit

Permalink
fix(shelter): 머지 충돌 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
DongjaJ committed Nov 21, 2023
1 parent 281a592 commit b1cf07b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/shelter/src/pages/manage/attendance/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import { ChangeEvent, Suspense, useEffect, useState } from 'react';
import { useParams } from 'react-router-dom';

import {
AttendanceStatus,
getShelterApprovedRecruitmentApplicants,
updateAttendanceAPI,
} from '@/apis/recruitment';
import { AttendanceStatus } from '@/types/apis/recruitment';

const attendanceQueryOptions = (recruitmentId: number) =>
queryOptions({
Expand Down Expand Up @@ -61,7 +61,7 @@ function AttendanceForm() {
}: {
recruitmentId: number;
applicants: AttendanceStatus[];
}) => updateAttendanceAPI(recruitmentId, applicants),
}) => updateAttendanceAPI(recruitmentId, { applicants }),
onError: (error) => {
console.warn('error', error);
},
Expand Down
2 changes: 1 addition & 1 deletion apps/shelter/src/types/apis/recruitment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export type ApprovedRecruitmentApplicantsResponse = {

export type AttendanceStatus = {
applicantId: number;
attendance: boolean;
isAttended: boolean;
};

export type ApplicantsApprovalRequest = {
Expand Down

0 comments on commit b1cf07b

Please sign in to comment.