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:
parent
ee696683ca
commit
fef6026ad9
|
@ -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>
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue