Skip to content

Commit 1f61c53

Browse files
authored
Merge pull request #175 from w3bdesign/development
Remove products variations until it is properly implemented
2 parents 0dee267 + 4adaf19 commit 1f61c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Product/SingleProduct.component.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import LoadingSpinner from 'components/LoadingSpinner/LoadingSpinner.component';
1111
const 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>

0 commit comments

Comments
 (0)