update src/views/Dashboard/layouts/Main/UserItems/ProductSuggestion/index.js, Order.js, src/views/Orders/index.js and src/views/ShoppingCart/index.js

temp
mahdi 2 years ago
parent 79f497d009
commit 69d4c07bff
  1. 2
      src/views/Dashboard/layouts/Main/UserItems/ProductSuggestion/index.js
  2. 2
      src/views/Orders/components/Order.js
  3. 4
      src/views/Orders/index.js

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import { Carousel } from "@trendyol-js/react-carousel"; import { Carousel } from "@trendyol-js/react-carousel";
import Product from '../../../../../../components/Product'; import Product from "../../../../../../components/Product";
import arrow from "../../../../../../assets/icons/dropdown-blue.svg"; import arrow from "../../../../../../assets/icons/dropdown-blue.svg";
function Suggestion({ products, grades, isMobile }) { function Suggestion({ products, grades, isMobile }) {

@ -88,7 +88,7 @@ function Order({ order, isMobile }) {
className="py-4 rounded-md text-center text-sm dark:bg-gray-400 dark:text-white text-blue5 w-full" className="py-4 rounded-md text-center text-sm dark:bg-gray-400 dark:text-white text-blue5 w-full"
style={{ style={{
fontFamily: "bold", fontFamily: "bold",
backgroundColor : '#F0FFF1' backgroundColor: "#F0FFF1",
}} }}
> >
{_.join(["کد تحویل:", order.receiveCode], " ")} {_.join(["کد تحویل:", order.receiveCode], " ")}

@ -1,8 +1,7 @@
import React from "react"; import React from "react";
import Order from "./components/Order"; import Order from "./components/Order";
import { connect } from "react-redux"; import { connect } from "react-redux";
import {publicApi} from '../../redux/actions'; import { publicApi } from "../../redux/actions";
//assets //assets
import bookImage from "../../assets/images/book-mini.svg"; import bookImage from "../../assets/images/book-mini.svg";
@ -21,7 +20,6 @@ function Orders({ orders, headerOptions, setHeaderOptions }) {
const mapStateToProps = (state) => ({ const mapStateToProps = (state) => ({
isMobile: state.publicApi.isMobile, isMobile: state.publicApi.isMobile,
}); });
const mapDispatchToProps = { const mapDispatchToProps = {

Loading…
Cancel
Save