mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
The test suite already tests more variations of fallback shells than just the empty ones. There will also be added more tests in the future. We're renaming it to reflect that.
9 lines
204 B
React
9 lines
204 B
React
export default async function Page({ params }) {
|
|
const { slug } = await params
|
|
return <div id="slug">Hello /{slug}</div>
|
|
}
|
|
|
|
export async function generateStaticParams() {
|
|
return [{ slug: 'foo' }]
|
|
}
|