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:
parent
0e4d2a15a7
commit
758ad9ce84
|
@ -126,9 +126,7 @@ export class Main extends Component {
|
||||||
render () {
|
render () {
|
||||||
const { html } = this.context._documentProps
|
const { html } = this.context._documentProps
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
|
||||||
<div id='__next' dangerouslySetInnerHTML={{ __html: html }} />
|
<div id='__next' dangerouslySetInnerHTML={{ __html: html }} />
|
||||||
</Fragment>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue