Skip to content

Commit

Permalink
Merge pull request #10 from New-Syatte/store-init-#4
Browse files Browse the repository at this point in the history
배포오류수정 2
  • Loading branch information
ruddnjs3769 authored Feb 15, 2024
2 parents 4c2e911 + 119ab3c commit 514748c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/app/(product)/product-details/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ export default async function ProductDetails({
categoryProducts.map(product => (
<div key={product._id}>
<Card
title={product.productName}
product={product}
width={120}
height={120}
src={product.mainImage.imageUrl}
linkTo={`/product-details/${product._id}`}
titleSize="sm"
/>
Expand All @@ -61,7 +60,7 @@ export default async function ProductDetails({
youtubeUrls={youtubeUrls}
/>
</div>
<footer>
{/* <footer>
<div>
{recommends && (
<div className="w-[1280px]">
Expand All @@ -72,7 +71,7 @@ export default async function ProductDetails({
{recommends.map((recommend, index) => (
<Card
key={index}
title={recommend.productName}
product={recommend}
width={260}
height={260}
src={recommend.mainImage.imageUrl}
Expand All @@ -84,7 +83,7 @@ export default async function ProductDetails({
</div>
)}
</div>
</footer>
</footer> */}
</section>
</RouteComplete>
);
Expand Down

0 comments on commit 514748c

Please sign in to comment.