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`.
|
||||
// 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)
|
||||
})
|
||||
})
|
|
@ -69,17 +69,14 @@ const Animated = styled.div`
|
|||
|
||||
export default () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<>' '<Head>
|
||||
<title>With Emotion</title>
|
||||
</Head>
|
||||
<div>
|
||||
</Head>' '<div>
|
||||
<Basic>Cool Styles</Basic>
|
||||
<Combined>
|
||||
With <code>:hover</code>.
|
||||
</Combined>
|
||||
<Animated animation={bounce}>Let's bounce.</Animated>
|
||||
</div>
|
||||
</>
|
||||
</div>' '</>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue