mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Run yarn lint —fix
This commit is contained in:
parent
d40f27239a
commit
e8c73b45fa
|
@ -1 +1 @@
|
||||||
export default () => "If everything works, you should be able to see me."
|
export default () => 'If everything works, you should be able to see me.'
|
||||||
|
|
|
@ -14,12 +14,10 @@ app.prepare().then(() => {
|
||||||
// Be sure to pass `true` as the second argument to `url.parse`.
|
// Be sure to pass `true` as the second argument to `url.parse`.
|
||||||
// This tells it to parse the query portion of the URL.
|
// This tells it to parse the query portion of the URL.
|
||||||
const parsedUrl = parse(req.url, true)
|
const parsedUrl = parse(req.url, true)
|
||||||
const { pathname, query } = parsedUrl
|
|
||||||
|
|
||||||
handle(req, res, parsedUrl)
|
handle(req, res, parsedUrl)
|
||||||
}).listen(process.env.PORT, process.env.IP || "0.0.0.0", err => {
|
}).listen(process.env.PORT, process.env.IP || '0.0.0.0', err => {
|
||||||
if (err) throw err
|
if (err) throw err
|
||||||
let addr = server.address();
|
let addr = server.address()
|
||||||
console.log("> Ready on http://", addr.address + ":" + addr.port);
|
console.log('> Ready on http://', addr.address + ':' + addr.port)
|
||||||
})
|
})
|
||||||
})
|
})
|
|
@ -69,17 +69,14 @@ const Animated = styled.div`
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>' '<Head>
|
||||||
<Head>
|
<title>With Emotion</title>
|
||||||
<title>With Emotion</title>
|
</Head>' '<div>
|
||||||
</Head>
|
<Basic>Cool Styles</Basic>
|
||||||
<div>
|
<Combined>
|
||||||
<Basic>Cool Styles</Basic>
|
|
||||||
<Combined>
|
|
||||||
With <code>:hover</code>.
|
With <code>:hover</code>.
|
||||||
</Combined>
|
</Combined>
|
||||||
<Animated animation={bounce}>Let's bounce.</Animated>
|
<Animated animation={bounce}>Let's bounce.</Animated>
|
||||||
</div>
|
</div>' '</>
|
||||||
</>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue