diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2024-02-17 10:23:23 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2024-02-17 10:23:23 +0700 |
| commit | 8d8c43d90373aab6238773e291a48d65d55c52a2 (patch) | |
| tree | cf7764337d3b79462ad4c8b53d85723e1d88618d /src-migrate/pages | |
| parent | ebfaccbff6aba23cb6e999fc6155596bc4cbf1b5 (diff) | |
Add voucher section
Diffstat (limited to 'src-migrate/pages')
| -rw-r--r-- | src-migrate/pages/shop/promo/index.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx index df2e9dcb..f293bbe3 100644 --- a/src-migrate/pages/shop/promo/index.tsx +++ b/src-migrate/pages/shop/promo/index.tsx @@ -1,15 +1,20 @@ import React from 'react' +import { LazyLoadComponent } from 'react-lazy-load-image-component' import Hero from '~/modules/promo/components/Hero' import Voucher from '~/modules/promo/components/Voucher' const PromoPage = () => { return ( <> - <Hero /> + <LazyLoadComponent> + <Hero /> + </LazyLoadComponent> <div className='h-10' /> - <Voucher /> + <LazyLoadComponent> + <Voucher /> + </LazyLoadComponent> </> ) } |
