Commit 6e887804 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Add missing variables (#2905)

parent 32c3dd04
......@@ -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 () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment