15 lines
305 B
TypeScript
15 lines
305 B
TypeScript
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>
|
|
)
|
|
}
|