From 99ecf498fbbe6ea20f37cc624f7c1de1ffe1fdd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Benegas?= Date: Fri, 23 Oct 2020 19:04:12 -0300 Subject: [PATCH] fix zIndex and key --- components/product/ProductCard/ProductCard.tsx | 2 +- components/product/ProductView/ProductView.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/product/ProductCard/ProductCard.tsx b/components/product/ProductCard/ProductCard.tsx index 2a5341f42..22060bd56 100644 --- a/components/product/ProductCard/ProductCard.tsx +++ b/components/product/ProductCard/ProductCard.tsx @@ -51,7 +51,7 @@ const ProductCard: FC = ({ className={cn(s.root, { [s.simple]: variant === 'simple' }, className)} >
-
+

{p.name} diff --git a/components/product/ProductView/ProductView.tsx b/components/product/ProductView/ProductView.tsx index 97c1c7d4d..a8f307b77 100644 --- a/components/product/ProductView/ProductView.tsx +++ b/components/product/ProductView/ProductView.tsx @@ -98,12 +98,12 @@ const ProductView: FC = ({ product, className }) => {

{opt.displayName}

- {opt.values.map((v: any) => { + {opt.values.map((v: any, i: number) => { const active = choices[opt.displayName] return (