diff --git a/components/product/ProductCard/ProductCard.tsx b/components/product/ProductCard/ProductCard.tsx index 345c31177..cad54c4da 100644 --- a/components/product/ProductCard/ProductCard.tsx +++ b/components/product/ProductCard/ProductCard.tsx @@ -31,56 +31,56 @@ const ProductCard: FC = ({ currencyCode: p.prices?.price?.currencyCode!, }) - if (variant === 'slim') { - return ( -
-
- - {p.name} - -
- -
- ) - } - return ( -
-
-
-

- {p.name} -

- {price} + {variant === 'slim' ? ( +
+
+ + {p.name} + +
+
- -
-
- -
+ ) : ( + <> +
+
+
+

+ {p.name} +

+ {price} +
+ +
+
+ +
+ + )}
)