mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
22 lines
402 B
TypeScript
22 lines
402 B
TypeScript
interface Props {
|
|
params: Promise<{
|
|
slug: string;
|
|
}>
|
|
searchParams: Promise<{
|
|
a: string;
|
|
}>
|
|
}
|
|
|
|
export default async function Page(props: Props) {
|
|
const [
|
|
params,
|
|
searchParams
|
|
] = await Promise.all([props.params, props.searchParams])
|
|
}
|
|
|
|
export async function generateMetadata(props: Props) {
|
|
const [
|
|
params,
|
|
] = await Promise.all([props.params, props.searchParams])
|
|
}
|