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

Format no-document-title description (#5803)

This commit is contained in:
Peter Halasz 2018-12-03 23:04:18 +01:00 committed by Tim Neutkens
parent 977bf8d9eb
commit 01b34bb784

View file

@ -27,12 +27,15 @@ export default class MyApp extends App {
render () { render () {
const { Component, pageProps } = this.props const { Component, pageProps } = this.props
return <Container>
return (
<Container>
<Head> <Head>
<title>My new cool app</title> <title>My new cool app</title>
</Head> </Head>
<Component {...pageProps} /> <Component {...pageProps} />
</Container> </Container>
)
} }
} }
``` ```