import { Suspense } from "react"

import Loading from "./loading"
import Page from "./page"

import { PageArgs } from "@/types/params"

export default function Default(props: PageArgs<{}, URLSearchParams>) {
  return (
    <Suspense fallback={<Loading />}>
      <Page {...props} />
    </Suspense>
  )
}
