diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-07 15:22:39 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-07 15:22:39 +0700 |
| commit | 86a715473aca30e277c1857bbcb6e6e9283e13f4 (patch) | |
| tree | 8f89f550b16380078ac460ef80f954ed503c9237 /src-migrate/modules | |
| parent | 3b785b0bce7cf27a377716c8dca300a996daff0c (diff) | |
<iman> update all promo
Diffstat (limited to 'src-migrate/modules')
| -rw-r--r-- | src-migrate/modules/promo/components/FlashSaleNonDisplay.tsx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src-migrate/modules/promo/components/FlashSaleNonDisplay.tsx b/src-migrate/modules/promo/components/FlashSaleNonDisplay.tsx new file mode 100644 index 00000000..1c5cc86d --- /dev/null +++ b/src-migrate/modules/promo/components/FlashSaleNonDisplay.tsx @@ -0,0 +1,20 @@ +import dynamic from "next/dynamic"; +import React from "react"; +import { FlashSaleSkeleton } from "@/lib/flashSale/skeleton/FlashSaleSkeleton"; + +const FlashSaleNonDisplay = dynamic( + () => import('@/lib/flashSale/components/FlashSaleNonDisplay'), + { + loading: () => <FlashSaleSkeleton />, + } + ); + + const FlashSalePromo = ()=> { + return( + <> + <FlashSaleNonDisplay/> + </> + ) + } + + export default FlashSalePromo
\ No newline at end of file |
