.
diff --git a/src/views/Product/AddToCart/index.js b/src/views/Product/AddToCart/index.js
index 438bf13..2980317 100644
--- a/src/views/Product/AddToCart/index.js
+++ b/src/views/Product/AddToCart/index.js
@@ -34,7 +34,7 @@ function AddToCart(props) {
info,
sampleFileId,
- productType,
+ // productType,
} = props;
function Navigate({ path }) {
history.push(path);
@@ -124,7 +124,9 @@ function AddToCart(props) {
count: 1,
});
else {
- toast.info(window.t("جهت ادامه فرآیند خرید وارد حساب خود شوید"));
+ toast.info(
+ window.t("جهت ادامه فرآیند خرید وارد حساب خود شوید")
+ );
localStorage.setItem("afterLogin", window.location.pathname);
localStorage.setItem(
"pushToCart",
diff --git a/src/views/Products/Product/index.js b/src/views/Products/Product/index.js
index d828b7d..0ec7d10 100644
--- a/src/views/Products/Product/index.js
+++ b/src/views/Products/Product/index.js
@@ -3,7 +3,7 @@ import React from "react";
import { Link, useHistory } from "react-router-dom";
import { toast } from "react-toastify";
import proxy from "~/Redux/proxy";
-import basket from "../../../assets/icons/basket.png";
+// import basket from "../../../assets/icons/basket.png";
import basket2 from "../../../assets/icons/basket2.png";
import { connect } from "react-redux";
@@ -157,7 +157,9 @@ function Product(props) {
count: 1,
});
else {
- toast.info(window.t("جهت ادامه فرآیند خرید وارد حساب خود شوید"));
+ toast.info(
+ window.t("جهت ادامه فرآیند خرید وارد حساب خود شوید")
+ );
localStorage.setItem("afterLogin", window.location.pathname);
localStorage.setItem("pushToCart", product.product[0].id);
Navigate({ path: "/auth" });
diff --git a/src/views/QR/PDF/index.js b/src/views/QR/PDF/index.js
index 48cf3a2..9957128 100644
--- a/src/views/QR/PDF/index.js
+++ b/src/views/QR/PDF/index.js
@@ -24,7 +24,8 @@ export default function PDF(props) {
{window.innerWidth > 1000 ? (
- فایل PDF
+ {" "}
+ {window.t("فایل PDF")}
- برای دانلود این فایل روی اینجا کلیک کن
+ {window.t("برای دانلود این فایل روی اینجا کلیک کن")}{" "}
@@ -55,7 +56,8 @@ export default function PDF(props) {
// }}
>
- فایل PDF
+ {" "}
+ {window.t("فایل PDF")}
) : null}
diff --git a/src/views/QR/PowerPoint/index.js b/src/views/QR/PowerPoint/index.js
index 7d84b59..645e6e3 100644
--- a/src/views/QR/PowerPoint/index.js
+++ b/src/views/QR/PowerPoint/index.js
@@ -23,7 +23,8 @@ export default function PowerPoint(props) {
{window.innerWidth > 1000 ? (
@@ -56,7 +57,7 @@ export default function PowerPoint(props) {
{props.data.name}
- برای دانلود این فایل روی اینجا کلیک کن
+ {window.t("برای دانلود این فایل روی اینجا کلیک کن")}{" "}
) : null}
diff --git a/src/views/QR/index.js b/src/views/QR/index.js
index 7e11c71..615a0f0 100644
--- a/src/views/QR/index.js
+++ b/src/views/QR/index.js
@@ -231,7 +231,7 @@ class QR extends Component {
}
/>
-