From 3294b1b0d71d4afd9100fbada8c6493e62d6715b Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 15 May 2022 09:05:40 +0430 Subject: [PATCH] update src/components/AddToCart/AddToCart1/index.js and src/components/ProductDescriptionTable/ProductTable1/index.js --- src/components/AddToCart/AddToCart1/index.js | 4 ++-- .../ProductTable1/index.js | 21 +++++++++++-------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/AddToCart/AddToCart1/index.js b/src/components/AddToCart/AddToCart1/index.js index 24cf10a..6f16183 100644 --- a/src/components/AddToCart/AddToCart1/index.js +++ b/src/components/AddToCart/AddToCart1/index.js @@ -26,9 +26,9 @@ const AddToCart1 = ({ }, ]; return ( -
+
{showProduct && ( -
+
productImage { +const ProductTable1 = ({ navTitles, items }) => { return ( <> -
+
    {navTitles.map((item) => (
  • { ))}
-
-
+
+
{items.map((e) => e.items.map((item) => ( -
    +
    • {item.title}
    • -
    • +
    • {item.description}
    )) )}
-
{addToCart}
+
+ +
);