mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 06:56:59 +00:00
Update ProductView.tsx
This commit is contained in:
parent
de2e92cf3e
commit
9ae544b5b9
@ -69,10 +69,7 @@ const ProductView: FC<ProductViewProps> = ({ product, relatedProducts }) => {
|
||||
<Text variant="sectionHeading">Related Products</Text>
|
||||
<div className={s.relatedProductsGrid}>
|
||||
{relatedProducts.map((p) => (
|
||||
<div
|
||||
key={p.path}
|
||||
className="animated fadeIn bg-accent-0 border border-accent-2"
|
||||
>
|
||||
<div key={p.path} className="bg-accent-0 border border-accent-2">
|
||||
<ProductCard
|
||||
noNameTag
|
||||
product={p}
|
||||
@ -81,6 +78,7 @@ const ProductView: FC<ProductViewProps> = ({ product, relatedProducts }) => {
|
||||
className="animated fadeIn"
|
||||
imgProps={{
|
||||
alt: p.name,
|
||||
className: 'w-full h-auto',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user