diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-02-09 10:19:48 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-02-09 10:19:48 +0700 |
| commit | 5ea7cbe7aa564d66a3660839d5a2c40d877647cc (patch) | |
| tree | 6666549859fe0e1e890263c8d1c24699be9f7ffc /src-migrate/modules/product-detail/components/ProductDetail.tsx | |
| parent | 2e38ec15d42201c26c48f9bcf856750204db0582 (diff) | |
| parent | 41f5aa212c69b61c2b101b682e77c8106849076e (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.tsx | 5 |
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' /> |
