Files
JJ KasperandGitHub e8ca334d42 Fix non-concurrent function _document (#31628)
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
2021-11-19 19:41:19 +00:00

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>
</>
)
}