File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import LoadingSpinner from 'components/LoadingSpinner/LoadingSpinner.component';
11
11
const SingleProduct = ( { product } ) => {
12
12
const [ isLoading , setIsLoading ] = useState ( true ) ;
13
13
useEffect ( ( ) => {
14
- // useEffect with empty array is the same as componentDidMount
15
14
setIsLoading ( false ) ;
16
15
} , [ ] ) ;
17
16
@@ -20,7 +19,6 @@ const SingleProduct = ({ product }) => {
20
19
image,
21
20
name,
22
21
onSale,
23
- productId,
24
22
price,
25
23
regularPrice,
26
24
salePrice,
@@ -71,6 +69,7 @@ const SingleProduct = ({ product }) => {
71
69
< p className = "pt-1 mt-4 text-2xl text-gray-900" >
72
70
{ DESCRIPTION_WITHOUT_HTML }
73
71
</ p >
72
+ { /*
74
73
<p className="pt-1 mt-4 text-xl text-gray-900">
75
74
<span className="py-2">Farge</span>
76
75
<select
@@ -89,6 +88,7 @@ const SingleProduct = ({ product }) => {
89
88
<option value="sort">Large</option>
90
89
</select>
91
90
</p>
91
+ */ }
92
92
< div className = "pt-1 mt-2" >
93
93
< AddToCartButton product = { product } />
94
94
</ div >
You can’t perform that action at this time.
0 commit comments