Просмотр исходного кода

feat module 3 : remove shopping benefits section

master
nadia 1 день назад
Родитель
Сommit
1bd7143eb6
2 измененных файлов: 8 добавлений и 4 удалений
  1. 4
    2
      src/pages/Products/Product.jsx
  2. 4
    2
      src/pages/Products/index.jsx

+ 4
- 2
src/pages/Products/Product.jsx Просмотреть файл

@@ -9,7 +9,7 @@ import ProductDetails from '../../components/ProductDetails';
9 9
 import ProductSuggestion from '../../components/ProductSuggestion';
10 10
 import ProductHistoryList from '../../components/ProductHistoryList';
11 11
 import SocialMedia from '../../components/SocialMedia'
12
-import Feature from '../../components/Feature'
12
+// import Feature from '../../components/Feature'
13 13
 import { fetchProduct } from '../../redux/slices/productSlice';
14 14
 
15 15
 const Product = () => {
@@ -111,6 +111,7 @@ const Product = () => {
111 111
 
112 112
 
113 113
       <SocialMedia />
114
+      {/*
114 115
       <Box sx={{
115 116
         display: {
116 117
           xs: "none",
@@ -120,10 +121,11 @@ const Product = () => {
120 121
       }}>
121 122
         <Feature />
122 123
       </Box>
124
+      */}
123 125
 
124 126
     </Box>
125 127
 
126 128
   )
127 129
 }
128 130
 
129
-export default Product
131
+export default Product

+ 4
- 2
src/pages/Products/index.jsx Просмотреть файл

@@ -4,7 +4,7 @@ import Filter from '../../components/Filter'
4 4
 import ProductList from '../../components/ProductList'
5 5
 import { Box } from '@mui/material'
6 6
 import SocialMedia from '../../components/SocialMedia'
7
-import Feature from '../../components/Feature'
7
+// import Feature from '../../components/Feature'
8 8
 
9 9
 const Products = () => {
10 10
 
@@ -43,6 +43,7 @@ const Products = () => {
43 43
         {collection && <PageTitle title={collection?.title} image={collection?.image?.url} />}
44 44
         <ProductList />
45 45
         <SocialMedia />
46
+        {/*
46 47
         <Box sx={{
47 48
           display: {
48 49
             xs: "none",
@@ -52,9 +53,10 @@ const Products = () => {
52 53
         }}>
53 54
           <Feature />
54 55
         </Box>
56
+        */}
55 57
       </Box>
56 58
     </>
57 59
   )
58 60
 }
59 61
 
60
-export default Products
62
+export default Products

Загрузка…
Отмена
Сохранить