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} +
-
- - ), - ) || ( + + ), + ) || (
구매처를 찾는 중이에요