diff options
Diffstat (limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')
| -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> |
