import Purchase, {TabType} from '@/components/composites/purchase'
import Page from '@/components/page'
import {Suspense} from 'react'

export type PurchasePageProps = {
  searchParams?: Promise<{
    type?: TabType
  }>
}

export default async function PurchasePage(props: PurchasePageProps) {
  return (
    <Page className="flex-col">
      <Suspense>
        <Purchase/>
      </Suspense>
    </Page>
  )
}
