summaryrefslogtreecommitdiff
path: root/src-migrate/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/modules')
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index c26dafde..685c107d 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -117,7 +117,7 @@ const ProductDetail = ({ product }: Props) => {
className="w-full h-full object-cover rounded-sm"
loading="lazy"
onError={(e) => {
- e.target.src = '/path/to/fallback-image.jpg'; // Fallback jika gambar error
+ (e.target as HTMLImageElement).src = '/path/to/fallback-image.jpg';
}}
/>
</div>