summaryrefslogtreecommitdiff
path: root/src/pages/index.jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-23 15:11:48 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-23 15:11:48 +0700
commite244185f6a83ad396be4d1f84bf22c2d6be0997e (patch)
tree3c4e3ea76bf1f54cb134de7a487b3875d8b2ef39 /src/pages/index.jsx
parent70ac7c6ee5d13f1aca58904d4cc3db3998e7dee0 (diff)
<iman> update error code
Diffstat (limited to 'src/pages/index.jsx')
-rw-r--r--src/pages/index.jsx9
1 files changed, 1 insertions, 8 deletions
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>