From 105f56fa40589880fa35c67aede74015be9120f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=98=81=EC=9A=B0?= Date: Wed, 20 Dec 2023 22:00:32 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=98=EB=8C=80=EB=A1=9C=20=ED=95=A8;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/RoomCard/RoomCard.tsx | 2 +- pages/room/[id].tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/RoomCard/RoomCard.tsx b/components/RoomCard/RoomCard.tsx index c15bef4..6786b22 100644 --- a/components/RoomCard/RoomCard.tsx +++ b/components/RoomCard/RoomCard.tsx @@ -136,7 +136,7 @@ const Footer = ({ room, isLikedRooms }: CardProps) => {

- Available {room.available === true ? formatDate(room.availableDate) : 'Now'} + Available {room.available === true ? 'Now' : formatDate(room.availableDate)}

); diff --git a/pages/room/[id].tsx b/pages/room/[id].tsx index 31c35d4..d98f3dd 100644 --- a/pages/room/[id].tsx +++ b/pages/room/[id].tsx @@ -366,7 +366,7 @@ export default function RoomDetail() {
- {room.available === true ? `From ${formatDate(room.availableDate)}` : 'Available Now'} + {room.available === true ? 'Available Now' : `From ${formatDate(room.availableDate)}`}