diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-06-06 03:23:15 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2024-06-06 03:23:15 +0000 |
| commit | 15f1163e5e865b322e20712d5916a0c10da25b33 (patch) | |
| tree | b11576f68faa6a626bbc807432fb4c6a536a7f0e /src/lib | |
| parent | 44a4a00f95b7992281cebdd15f7b1eaf24c52fd6 (diff) | |
| parent | 6ac1792ee37e5a5a9438f61e708966c944b61914 (diff) | |
Merged in feature/SNI-TKDN (pull request #139)
<iman> add feature SNI-TKDN
Approved-by: trisusilo
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/product/components/ProductCard.jsx | 8 |
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" |
