summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-11-16 13:40:41 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-11-16 13:40:41 +0700
commit2abf266e5cfd40cf19be391d960bddba71907628 (patch)
tree2666de9344f42405ce32858a53f60d36e0cd0ed4 /src/components
parent983fa3b902f08294621b3902c823e05b8d09e858 (diff)
fix product no brand & product name height
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ProductCard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ProductCard.js b/src/components/ProductCard.js
index 49bba235..77f902e0 100644
--- a/src/components/ProductCard.js
+++ b/src/components/ProductCard.js
@@ -15,7 +15,7 @@ export default function ProductCard({ data }) {
</Link>
<div className="product-card__description">
<div>
- {typeof product.manufacture.name !== undefined ? (
+ {typeof product.manufacture.name !== "undefined" ? (
<a href={'/shop/brands/' + createSlug(product.manufacture.name, product.manufacture.id)} className="product-card__brand">{product.manufacture.name}</a>
) : (
<span className="product-card__brand">-</span>