From 36eb8a63afc5e6b8b0edd70242e83ce89a83be12 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 12 Jun 2022 12:20:53 +0430 Subject: [PATCH] update src/components/Product/index.js and src/components/ProductDescription/index.js --- src/components/Product/index.js | 2 +- src/components/ProductDescription/index.js | 47 +++++++++++++--------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/src/components/Product/index.js b/src/components/Product/index.js index bfe447e..fe0ccb0 100644 --- a/src/components/Product/index.js +++ b/src/components/Product/index.js @@ -99,7 +99,7 @@ const ProductDesign = ({ )} {productCat && ( - {"پایه" + " " + grades[product?.gradeId]} + {'${window.t("پایه")}' + " " + grades[product?.gradeId]} )} diff --git a/src/components/ProductDescription/index.js b/src/components/ProductDescription/index.js index 0269b5a..a0f420a 100644 --- a/src/components/ProductDescription/index.js +++ b/src/components/ProductDescription/index.js @@ -31,7 +31,10 @@ const ProductDescription = ({ navTitles, items, addToCart }) => { {items.map((item, index) => item.name == name ? item.items.map((item, index) => ( -