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';
1111const SingleProduct = ( { product } ) => {
1212 const [ isLoading , setIsLoading ] = useState ( true ) ;
1313 useEffect ( ( ) => {
14- // useEffect with empty array is the same as componentDidMount
1514 setIsLoading ( false ) ;
1615 } , [ ] ) ;
1716
@@ -20,7 +19,6 @@ const SingleProduct = ({ product }) => {
2019 image,
2120 name,
2221 onSale,
23- productId,
2422 price,
2523 regularPrice,
2624 salePrice,
@@ -71,6 +69,7 @@ const SingleProduct = ({ product }) => {
7169 < p className = "pt-1 mt-4 text-2xl text-gray-900" >
7270 { DESCRIPTION_WITHOUT_HTML }
7371 </ p >
72+ { /*
7473 <p className="pt-1 mt-4 text-xl text-gray-900">
7574 <span className="py-2">Farge</span>
7675 <select
@@ -89,6 +88,7 @@ const SingleProduct = ({ product }) => {
8988 <option value="sort">Large</option>
9089 </select>
9190 </p>
91+ */ }
9292 < div className = "pt-1 mt-2" >
9393 < AddToCartButton product = { product } />
9494 </ div >
You can’t perform that action at this time.
0 commit comments