From 27a618cbe50e8d5a651204a66e353b9c894af199 Mon Sep 17 00:00:00 2001 From: DingX2 <96682768+DingX2@users.noreply.github.com> Date: Mon, 14 Aug 2023 09:57:47 +0900 Subject: [PATCH] =?UTF-8?q?#3=20[Fix}=20booking=20=EC=98=88=EC=99=B8=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - bookingData가 있을 경우에만 출력해야 렌더링 오류가 발생하지 않음 --- src/components/PassDetailContainer.jsx | 16 ++++++++-------- src/components/ReservationDetails.jsx | 1 - src/styles/index.scss | 3 +-- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/PassDetailContainer.jsx b/src/components/PassDetailContainer.jsx index d4a06b8..ce16071 100644 --- a/src/components/PassDetailContainer.jsx +++ b/src/components/PassDetailContainer.jsx @@ -15,8 +15,6 @@ export default function PassDetailContainer({ bookingData, pass }) { setIsExpanded(!isExpanded); }; - // console.log("check pass"); - // console.log(pass); console.log("들어온 bookingData"); console.log(bookingData); @@ -73,17 +71,19 @@ export default function PassDetailContainer({ bookingData, pass }) { : "달력으로 입력 필요"} - {bookingData && bookingData.startTime && bookingData.endedTime && ( + {