diff --git a/src/components/molecules/ApplicantInfo.tsx b/src/components/molecules/ApplicantInfo.tsx index 5053d5d..72d08f4 100644 --- a/src/components/molecules/ApplicantInfo.tsx +++ b/src/components/molecules/ApplicantInfo.tsx @@ -4,11 +4,13 @@ interface IProps { export const ApplicantInfo = ({ applicant }: IProps) => { const time = applicant.startTime.substring(11, 16); + console.log(applicant); return ( -
+

{time}

{applicant.userName}

+

{applicant.applicant}명

{applicant.email}

diff --git a/src/types/reservation.d.ts b/src/types/reservation.d.ts index 51ce4ce..e858d28 100644 --- a/src/types/reservation.d.ts +++ b/src/types/reservation.d.ts @@ -54,6 +54,7 @@ interface PeopleType { startTime: string; userName: string; email: string; + applicant: number; } interface PeopleListType extends PeopleType {