summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/components/FlashSale.tsx
blob: c025939619ef915b19d4d2a60db08cdbbca32633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import dynamic from "next/dynamic";
import React from "react";
import { FlashSaleSkeleton } from "@/lib/flashSale/skeleton/FlashSaleSkeleton";

const FlashSale = dynamic(
    () => import('@/lib/flashSale/components/FlashSale'),
    {
      loading: () => <FlashSaleSkeleton />,
    }
  );

  const FlashSalePromo = ()=> {
    return(
        <>  
            <FlashSale/>
        </>
    )
  }

  export default FlashSalePromo