From d086892e68f8f1ce3c2974302e34aee7c7ce2062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=98=81=EC=9A=B0?= Date: Sun, 12 Nov 2023 19:30:39 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20image=20=EB=B0=94=EC=9D=B8=EB=94=A9=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/room/[id].tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/room/[id].tsx b/pages/room/[id].tsx index 1088277..dd95748 100644 --- a/pages/room/[id].tsx +++ b/pages/room/[id].tsx @@ -235,7 +235,7 @@ export default function RoomDetail() { {room && ( <>
- {(room.imageFiles || []).length > 0 ? ( + {(room.images || []).length > 0 ? ( handleSlideChange(event.realIndex)} > - {(room.imageFiles || []).map((image, idx) => ( + {(room.images || []).map((image, idx) => ( {`room-${idx}`} ))}
- {currentSlide + 1}/{(room.imageFiles || []).length} + {currentSlide + 1}/{(room.images || []).length}
) : (