From 3ada88f0faf901e05bd56ecff8c4bcb209c06787 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 21 Jun 2024 15:31:12 +0700
Subject: <iman> update all-promotion

---
 src-migrate/pages/shop/promo/index.tsx | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

(limited to 'src-migrate/pages/shop/promo/index.tsx')

diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx
index 5fdd80aa..d1d6d70a 100644
--- a/src-migrate/pages/shop/promo/index.tsx
+++ b/src-migrate/pages/shop/promo/index.tsx
@@ -4,8 +4,11 @@ import { LazyLoadComponent } from 'react-lazy-load-image-component'
 import Hero from '~/modules/promo/components/Hero'
 import PromotionProgram from '~/modules/promo/components/PromotinProgram'
 import Voucher from '~/modules/promo/components/Voucher'
+import FlashSale from '../../../modules/promo/components/FlashSale'
 const PromoList = dynamic(() => import('../../../modules/promo/components/PromoList'));
 
+
+
 const PromoPage = () => {
   const [selectedPromo, setSelectedPromo] = useState('Bundling');
   return (
@@ -14,16 +17,18 @@ const PromoPage = () => {
         <Hero />
       </LazyLoadComponent>
 
-      <div className='h-10' />
 
       <LazyLoadComponent>
-      <PromotionProgram 
-                selectedPromo={selectedPromo} 
-                onSelectPromo={setSelectedPromo} 
-            />
+        <PromotionProgram 
+                  selectedPromo={selectedPromo} 
+                  onSelectPromo={setSelectedPromo} 
+              />
+        <PromoList selectedPromo={selectedPromo} />
+      </LazyLoadComponent>
+    
+      <LazyLoadComponent>
+        <FlashSale />
       </LazyLoadComponent>
-      <PromoList selectedPromo={selectedPromo} />
-      <div className='h-10' />
 
       <LazyLoadComponent>
         <Voucher />
-- 
cgit v1.2.3

