diff --git a/components/product/ProductCard/ProductCard.tsx b/components/product/ProductCard/ProductCard.tsx index 39c19db00..95f2f3f07 100644 --- a/components/product/ProductCard/ProductCard.tsx +++ b/components/product/ProductCard/ProductCard.tsx @@ -7,6 +7,7 @@ import Image, { ImageProps } from 'next/image' import WishlistButton from '@components/wishlist/WishlistButton' import usePrice from '@framework/product/use-price' import ProductTag from '../ProductTag' + interface Props { className?: string product: Product @@ -23,7 +24,6 @@ const ProductCard: FC = ({ className, noNameTag = false, variant = 'default', - ...props }) => { const { price } = usePrice({ amount: product.price.value, @@ -38,7 +38,7 @@ const ProductCard: FC = ({ ) return ( - + {variant === 'slim' && ( <>