From 89677d77402d4c7da5042cf6d40592027f0f5333 Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Tue, 2 Jul 2024 16:35:38 +0900 Subject: [PATCH] =?UTF-8?q?#29=20fix:=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/calendar/CalendarModal.tsx | 72 +++++++++++++++------------ 1 file changed, 39 insertions(+), 33 deletions(-) diff --git a/components/calendar/CalendarModal.tsx b/components/calendar/CalendarModal.tsx index 8cc70f8..b674478 100644 --- a/components/calendar/CalendarModal.tsx +++ b/components/calendar/CalendarModal.tsx @@ -13,43 +13,49 @@ const CalendarModal = ({ useGetProgramDetail(programIdx); return ( -
-
- -
{data.name}
-
- {data.locatedPlace && ( - - )} + data && ( +
+
+ +
{data.name}
+
+ {data.locatedPlace && ( + + )} - - {data.openDate.year}년 {data.openDate.month}월 {data.openDate.day}일 - {" ~ "} - {data.dueDate.year}년 {data.dueDate.month}월 {data.dueDate.day}일 - + + {data.openDate.year}년 {data.openDate.month}월 {data.openDate.day} + 일{" ~ "} + {data.dueDate.year}년 {data.dueDate.month}월 {data.dueDate.day}일 + - - - {data.location && ( - - )} - + + + {data.location && ( + + )} + +
-
+ ) ); };