mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Another round of removing extra <div> (#3373)
This commit is contained in:
parent
eefab8fb3e
commit
01f05d8cbc
|
@ -40,9 +40,7 @@ export default class App extends Component {
|
|||
}
|
||||
const containerProps = { Component, props, hash, router, url }
|
||||
|
||||
return <div>
|
||||
<Container {...containerProps} />
|
||||
</div>
|
||||
return <Container {...containerProps} />
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
|
|||
import htmlescape from 'htmlescape'
|
||||
import flush from 'styled-jsx/server'
|
||||
|
||||
function Fragment ({ children }) {
|
||||
const Fragment = React.Fragment || function Fragment ({ children }) {
|
||||
return children
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue