From e244185f6a83ad396be4d1f84bf22c2d6be0997e Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Tue, 23 Jul 2024 15:11:48 +0700
Subject: <iman> update error code

---
 src/pages/index.jsx | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

(limited to 'src/pages/index.jsx')

diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 6558f605..60dcb9e0 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -44,10 +44,6 @@ const FlashSale = dynamic(
   }
 );
 
-const ProgramPromotion = dynamic(() =>
-  import('@/lib/home/components/PromotionProgram')
-);
-
 const BannerSection = dynamic(() =>
   import('@/lib/home/components/BannerSection')
 );
@@ -135,7 +131,7 @@ export default function Home({categoryId}) {
             </div>
             {!auth?.feature?.soApproval && (
               <>
-                <ProgramPromotion /> <FlashSale />
+                <FlashSale />
               </>
             )}
             <PromotinProgram />
@@ -163,9 +159,6 @@ export default function Home({categoryId}) {
           </DelayRender>
           {!auth?.feature?.soApproval && (
             <>
-              <DelayRender renderAfter={400}>
-                <ProgramPromotion />
-              </DelayRender>
               <DelayRender renderAfter={600}>
                 <FlashSale />
               </DelayRender>
-- 
cgit v1.2.3

