From 6a98f0a86fcf67335eac0df8e4ca59337a33bb44 Mon Sep 17 00:00:00 2001
From: mahdi
Date: Fri, 15 Jul 2022 10:39:20 +0430
Subject: [PATCH] update
---
src/components/Design2D/index.js | 2 +-
src/components/ProductStatusCard/index.js | 4 ++--
src/views/Home/Desktop/index.js | 2 +-
src/views/Video/index.js | 6 +++++-
4 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/components/Design2D/index.js b/src/components/Design2D/index.js
index 8146d20..2e22a56 100644
--- a/src/components/Design2D/index.js
+++ b/src/components/Design2D/index.js
@@ -3,7 +3,7 @@ import React from "react";
const Design2D = ({ array }) => {
return (
{array.map((item, index) => (
diff --git a/src/components/ProductStatusCard/index.js b/src/components/ProductStatusCard/index.js
index 581d634..1b6b2ba 100644
--- a/src/components/ProductStatusCard/index.js
+++ b/src/components/ProductStatusCard/index.js
@@ -113,7 +113,7 @@ const ProductStatusCard = ({
onClick={() => addToFavorite({ [bookmark]: location.getId() })}
/>
- اضافه کردن به لیست علاقه مندی ها
+ {window.t("اضافه کردن به لیست علاقه مندی ها")}
)}
@@ -135,7 +135,7 @@ const ProductStatusCard = ({
{" " +
separate(price - offerPrice) +
" " +
- "${`window.t(تومان)`}"}
+ `${window.t("تومان")}`}
{window.t("صرفه جویی کنید")}
diff --git a/src/views/Home/Desktop/index.js b/src/views/Home/Desktop/index.js
index dca978f..fdebf45 100644
--- a/src/views/Home/Desktop/index.js
+++ b/src/views/Home/Desktop/index.js
@@ -71,7 +71,7 @@ const DesktopHome = ({ grades, books }) => {
const mapStateToProps = (state) => ({
isDark: state.publicApi.isDark,
- isMobile: state.config.device === 'mobile',
+ isMobile: state.config.device === "mobile",
books: state.book.list,
gradeFilterBooks: state.book.gradeFilterBooks,
selectedGrade: state.book.selectedGrade,
diff --git a/src/views/Video/index.js b/src/views/Video/index.js
index 7f89645..692e9ac 100644
--- a/src/views/Video/index.js
+++ b/src/views/Video/index.js
@@ -191,7 +191,11 @@ function Video({
-
+
{`${window.t(
"توصیه خرید توسط"
)} ${book?.product[2]?.suggestedCounter} ${window.t("نفر")}`}