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
10 lines
175 B
JavaScript
10 lines
175 B
JavaScript
export default async function Page({ params }) {
|
|
const { locale } = await params
|
|
return (
|
|
<>
|
|
<p>/[locale]/static</p>
|
|
<p>locale: {locale}</p>
|
|
</>
|
|
)
|
|
}
|