summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-detail/components/ProductDetail.tsx
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2024-02-09 10:19:48 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2024-02-09 10:19:48 +0700
commit5ea7cbe7aa564d66a3660839d5a2c40d877647cc (patch)
tree6666549859fe0e1e890263c8d1c24699be9f7ffc /src-migrate/modules/product-detail/components/ProductDetail.tsx
parent2e38ec15d42201c26c48f9bcf856750204db0582 (diff)
parent41f5aa212c69b61c2b101b682e77c8106849076e (diff)
Merge branch 'release' of https://bitbucket.org/altafixco/next-indoteknik into release
Diffstat (limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index 80f43aea..2bd3c901 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -23,6 +23,7 @@ import SimilarBottom from './SimilarBottom'
import PriceAction from './PriceAction'
import ProductPromoSection from '~/modules/product-promo/components/Section'
import Breadcrumb from './Breadcrumb'
+import { LazyLoadComponent } from 'react-lazy-load-image-component'
type Props = {
product: IProductDetail
@@ -166,7 +167,9 @@ const ProductDetail = ({ product }: Props) => {
<div className='h-6' />
- <SimilarBottom product={product} />
+ <LazyLoadComponent>
+ <SimilarBottom product={product} />
+ </LazyLoadComponent>
</div>
<div className='h-6 md:h-0' />