summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/components/FlashSale.tsx
blob: 05bf1e1108f2646cbb8812ae5e075d3d5b22b8ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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(
        <>  
            <h1 className='h-4'></h1>
            <FlashSale/>
        </>
    )
  }

  export default FlashSalePromo