We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa54f1 commit cd621acCopy full SHA for cd621ac
refactor/src/components/Product/SingleProduct.component.tsx
@@ -101,7 +101,7 @@ const SingleProduct = ({ product }: IProductRootObject) => {
101
<p className="pt-1 mt-4 text-2xl text-gray-900">
102
{DESCRIPTION_WITHOUT_HTML}
103
</p>
104
- {product.stockQuantity && (
+ {Boolean(product.stockQuantity) && (
105
<p
106
v-if="data.product.stockQuantity"
107
className="pt-1 mt-4 mb-4 text-2xl text-gray-900"
0 commit comments