diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-06-06 10:07:51 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-06-06 10:07:51 +0700 |
| commit | e7ff25b6c0763149981df738ff50871b851bf4a6 (patch) | |
| tree | bfc390b0429a2c635239d6d1f489ada41ac9c62b | |
| parent | d941c429ce185d6bb67c603d2bdb3017cdd79ae8 (diff) | |
<iman> add feature SNI-TKDN
| -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" |
