diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-09-26 11:29:04 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-09-26 11:29:04 +0700 |
| commit | cbd9208242dd3b285c7ce349674417ba6865683d (patch) | |
| tree | e8a0c55219a47907b4a0af8895c665b7a52d9b5d /src-migrate | |
| parent | 736e69b540654e05a512c960adf5f2becd3c2498 (diff) | |
(andri) noimage
Diffstat (limited to 'src-migrate')
| -rw-r--r-- | src-migrate/modules/product-detail/components/ProductDetail.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx index 79921e22..f0679da4 100644 --- a/src-migrate/modules/product-detail/components/ProductDetail.tsx +++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx @@ -164,7 +164,7 @@ return ( className='w-[85%] aspect-square object-contain' onError={(e) => { (e.target as HTMLImageElement).src = - '/path/to/fallback-image.jpg'; + '/images/noimage.jpeg'; }} /> </div> @@ -172,7 +172,7 @@ return ( ) : ( <div className='w-full flex-shrink-0 snap-center flex justify-center items-center'> <img - src={mainImage || '/path/to/fallback-image.jpg'} + src={mainImage || '/images/noimage.jpeg'} alt='Gambar produk' className='w-[85%] aspect-square object-contain' /> @@ -222,7 +222,7 @@ return ( loading='lazy' onError={(e) => { (e.target as HTMLImageElement).src = - '/path/to/fallback-image.jpg'; + '/images/noimage.jpeg'; }} /> </div> |
