summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-06-06 03:23:15 +0000
committertrisusilo <tri.susilo@altama.co.id>2024-06-06 03:23:15 +0000
commit15f1163e5e865b322e20712d5916a0c10da25b33 (patch)
treeb11576f68faa6a626bbc807432fb4c6a536a7f0e /src
parent44a4a00f95b7992281cebdd15f7b1eaf24c52fd6 (diff)
parent6ac1792ee37e5a5a9438f61e708966c944b61914 (diff)
Merged in feature/SNI-TKDN (pull request #139)
<iman> add feature SNI-TKDN Approved-by: trisusilo
Diffstat (limited to 'src')
-rw-r--r--src/lib/product/components/ProductCard.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 357f3fd9..98732407 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -50,7 +50,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
/>
<div className="absolute top-0 right-0 flex mt-3">
<div className="gambarB ">
- {product.isSni && (
+ {product?.isSni && (
<ImageNext
src="/images/sni-logo.png"
alt="SNI Logo"
@@ -61,7 +61,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
)}
</div>
<div className="gambarC ">
- {product.isTkdn && (
+ {product?.isTkdn && (
<ImageNext
src="/images/TKDN.png"
alt="TKDN"
@@ -208,7 +208,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
/>
<div className="absolute top-0 right-0 flex mt-3">
<div className="gambarB ">
- {product.isSni && (
+ {product?.isSni && (
<ImageNext
src="/images/sni-logo.png"
alt="SNI Logo"
@@ -219,7 +219,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
)}
</div>
<div className="gambarC ">
- {product.isTkdn && (
+ {product?.isTkdn && (
<ImageNext
src="/images/TKDN.png"
alt="TKDN"