Commit e8c73b45 authored by Tim Neutkens's avatar Tim Neutkens

Run yarn lint —fix

parent d40f2723
export default () => "If everything works, you should be able to see me." export default () => 'If everything works, you should be able to see me.'
\ No newline at end of file
...@@ -14,12 +14,10 @@ app.prepare().then(() => { ...@@ -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)
}) })
}) })
\ No newline at end of file
...@@ -69,17 +69,14 @@ const Animated = styled.div` ...@@ -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>' '</>
</>
) )
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment