From 5a609625d1f1198493929c34cd1382bdca1e52f9 Mon Sep 17 00:00:00 2001 From: seoyeon08 Date: Mon, 8 Jul 2024 15:26:11 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=98=88=EC=95=BD=EC=9E=90=20list?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=8B=A0=EC=B2=AD=EC=9D=B8=EC=9B=90=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/molecules/ApplicantInfo.tsx | 4 +++- src/types/reservation.d.ts | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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 {