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

Add missing variables (#2905)

This commit is contained in:
Tim Neutkens 2017-09-05 21:43:31 +02:00 committed by GitHub
parent 32c3dd0476
commit 6e88780419

View file

@ -3,8 +3,8 @@ import Document, { Head, Main, NextScript } from 'next/document'
export default class MyDocument extends Document {
static getInitialProps ({ renderPage }) {
const {html, head} = renderPage()
return { html, head }
const { html, head, errorHtml, chunks } = renderPage()
return { html, head, errorHtml, chunks }
}
render () {