rsnext/test/integration/hydration/pages/_document.js
JJ Kasper 5a9a478cc8
Fix hydration with custom _app and granular chunks (#10144)
* Add failing hydration test

* Add importing of next/router to _app

* Fix type

* Update _app check for windows

* Remove babel fix

* Update to use webpack to require next/router
2020-01-17 14:13:51 -06:00

16 lines
306 B
JavaScript

import Document, { Head, Html, Main, NextScript } from 'next/document'
import React from 'react'
class WeddingDocument extends Document {
render() {
return (
<Html lang="en-GB">
<Head />
<Main />
<NextScript />
</Html>
)
}
}
export default WeddingDocument