mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
When we updated `experimental.strictNextHead` to be true in #65418, we did not update all spots that would default to true in the case where the value was omitted entirely. This led to the default value not being correctly applied in pages router, which resulted in duplicate metadata w/ React 19. Since we made the flag the default, we can also probably clean up this flag all together, but that can be done separately. Fixes #81655 Fixes #81689
15 lines
318 B
JavaScript
15 lines
318 B
JavaScript
import Head from 'next/head'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<Head>
|
|
<title>Title Page</title>
|
|
<meta property="og:title" content="Title Content" />
|
|
<meta name="description" content="Description Content" />
|
|
</Head>
|
|
<p>This is a page!</p>
|
|
</div>
|
|
)
|
|
}
|