From 3b8c35557d5eb1ad216670548857b99b73a5bd13 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:19:37 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20deposit,=20monthly=20rent=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= 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 6786b22..9d7bb46 100644 --- a/components/RoomCard/RoomCard.tsx +++ b/components/RoomCard/RoomCard.tsx @@ -120,7 +120,7 @@ const Footer = ({ room, isLikedRooms }: CardProps) => { {room.location.name}-dong, {room.location.upperLocation?.name}-gu
-
₩{formatPrice(room.deposit.amount)} 
+
₩{formatPrice(room.monthlyRent.amount)} 
/ month {room.deposit ? 'Deposit required' : ''} diff --git a/pages/room/[id].tsx b/pages/room/[id].tsx index d98f3dd..975963b 100644 --- a/pages/room/[id].tsx +++ b/pages/room/[id].tsx @@ -433,7 +433,7 @@ export default function RoomDetail() {
- ₩ {formatPrice(room.deposit.amount)}  + ₩ {formatPrice(room.monthlyRent.amount)}  / month