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='text-h-sm md:text-h-lg  font-semibold'>Bayar Setengahnya!</h1>
            <FlashSale/>
        </>
    )
  }

  export default FlashSalePromo