diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2024-01-15 15:13:20 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2024-01-15 15:13:20 +0700 |
| commit | d9dafa74857959974e9d379dc1a3abfbaf2af83d (patch) | |
| tree | 7441e2662c3c1b7830d82203e63d8516d415b7fa /src-migrate/modules/product-detail/components/ProductDetail.tsx | |
| parent | c42f03768e4c009a247d5cacbecaf4ac952752c9 (diff) | |
Update improve product detail performance
Diffstat (limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')
| -rw-r--r-- | src-migrate/modules/product-detail/components/ProductDetail.tsx | 2 |
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 d38e0686..08ad7d51 100644 --- a/src-migrate/modules/product-detail/components/ProductDetail.tsx +++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx @@ -86,7 +86,7 @@ const ProductDetail = ({ product }: Props) => { )} <div className='h-4 md:h-10' /> - {activeVariantId && ( + {!!activeVariantId && ( <ProductPromoSection productId={activeVariantId} /> )} |
