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

<title> should not be used in _document.js's (#5379)

* <title> should not be used in _document.js's

* fix style as it was
This commit is contained in:
Supakorn Thongtra 2018-10-06 04:53:52 +07:00 committed by Tim Neutkens
parent ee696683ca
commit fef6026ad9

View file

@ -13,7 +13,6 @@ export default class MyDocument extends Document {
return (
<html>
<Head>
<title>My page</title>
{this.props.styleTags}
</Head>
<body>
@ -23,4 +22,4 @@ export default class MyDocument extends Document {
</html>
)
}
}
}