Files
JJ KasperandGitHub e20f127a1f Fix missing non-deferred turbopack build items (#89616)
This expands test suite for deferred entries experimental handling and
fixes missing handling for metadata routes and route handlers when
building the non-deferred entries.
2026-02-06 21:24:51 -08:00

15 lines
348 B
TypeScript

export function generateStaticParams() {
return [{ slug: 'alpha' }, { slug: 'beta' }]
}
type StaticParamsPageProps = {
params: Promise<{ slug: string }>
}
export default async function StaticParamsPage({
params,
}: StaticParamsPageProps) {
const { slug } = await Promise.resolve(params)
return <h1>Generated Static Param: {slug}</h1>
}