From 48d049fb3f768b1233852d27836e022838bc09ea Mon Sep 17 00:00:00 2001 From: DaegyunOh Date: Thu, 1 Feb 2024 22:02:48 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20=EA=B5=AC=EB=A7=A4=EC=B2=98=20?= =?UTF-8?q?=ED=95=98=EB=82=98=EB=A7=8C=20=EB=B3=B4=EC=97=AC=EC=A7=80?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/detail/HereToBuy.tsx | 64 +++++++++++++++++---------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/components/detail/HereToBuy.tsx b/components/detail/HereToBuy.tsx index 3a7fb70..e221ec5 100644 --- a/components/detail/HereToBuy.tsx +++ b/components/detail/HereToBuy.tsx @@ -29,40 +29,42 @@ const HereTobuy = async ({ id }: BuyProps) => {
여기서 구매할 수 있어요
- {data.purchaseList?.map( - ({ - title, - link, - image, - }: { - title: string; - link: string; - image: string; - }) => ( - -
- vendor + {data.purchaseList + ?.slice(0, 1) + .map( + ({ + title, + link, + image, + }: { + title: string; + link: string; + image: string; + }) => ( + +
+ vendor -
-
{title}
-
- {data.brandName} -
-
- {data.fragranceName} +
+
{title}
+
+ {data.brandName} +
+
+ {data.fragranceName} +
-
- - ), - ) || ( + + ), + ) || (
구매처를 찾는 중이에요