1
0
Fork 0
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:
Tim Neutkens 2018-10-20 19:37:42 +02:00
parent d40f27239a
commit e8c73b45fa
3 changed files with 13 additions and 18 deletions

View file

@ -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.'

View file

@ -14,12 +14,10 @@ app.prepare().then(() => {
// Be sure to pass `true` as the second argument to `url.parse`.
// This tells it to parse the query portion of the URL.
const parsedUrl = parse(req.url, true)
const { pathname, query } = 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
let addr = server.address();
console.log("> Ready on http://", addr.address + ":" + addr.port);
let addr = server.address()
console.log('> Ready on http://', addr.address + ':' + addr.port)
})
})
})

View file

@ -69,17 +69,14 @@ const Animated = styled.div`
export default () => {
return (
<>
<Head>
<title>With Emotion</title>
</Head>
<div>
<Basic>Cool Styles</Basic>
<Combined>
<>' '<Head>
<title>With Emotion</title>
</Head>' '<div>
<Basic>Cool Styles</Basic>
<Combined>
With <code>:hover</code>.
</Combined>
<Animated animation={bounce}>Let's bounce.</Animated>
</div>
</>
</Combined>
<Animated animation={bounce}>Let's bounce.</Animated>
</div>' '</>
)
}