mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This ensures we don't consider a path as ISR in development when it will be dynamic during a build due to no `generateStaticParams` being fully generated for a path. Fixes: https://github.com/vercel/next.js/issues/81976 Closes: NEXT-4650
11 lines
213 B
JavaScript
11 lines
213 B
JavaScript
export default async function Page({ params }) {
|
|
const { locale, slug } = await params
|
|
|
|
return (
|
|
<>
|
|
<p>/[locale]/[slug]/page</p>
|
|
<p>params: {JSON.stringify({ locale, slug })}</p>
|
|
</>
|
|
)
|
|
}
|