1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Remove Fragment from Main component (#5222)

Since `__next-error` is no longer necessary, there is no need to wrap the `__next` div in `Fragment`.
This commit is contained in:
Damian Stasik 2018-09-20 11:38:33 +02:00 committed by Tim Neutkens
parent 0e4d2a15a7
commit 758ad9ce84

View file

@ -126,9 +126,7 @@ export class Main extends Component {
render () {
const { html } = this.context._documentProps
return (
<Fragment>
<div id='__next' dangerouslySetInnerHTML={{ __html: html }} />
</Fragment>
)
}
}