mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This ensures functional `_document` is rendered correctly when not using concurrent mode. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: https://github.com/vercel/next.js/issues/31593 x-ref: https://github.com/vercel/next.js/pull/30156
16 lines
312 B
JavaScript
16 lines
312 B
JavaScript
import Head from 'next/head'
|
|
import { Meta } from '../components/meta'
|
|
|
|
export default function Page(props) {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<meta name="test-head-1" content="hello" />
|
|
<meta name="test-head-2" content="hello" />
|
|
</Head>
|
|
<Meta />
|
|
<p>index page</p>
|
|
</>
|
|
)
|
|
}
|