From 63dfcbd200583658626c8e14dda4a4e7c924e7df Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Thu, 29 Jul 2021 23:56:14 -0500 Subject: [PATCH] Remove props destructuring --- components/product/ProductCard/ProductCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/product/ProductCard/ProductCard.tsx b/components/product/ProductCard/ProductCard.tsx index 3b25eca8e..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,