Commit 01f05d8c authored by Roman Vanesyan's avatar Roman Vanesyan Committed by Tim Neutkens

Another round of removing extra <div> (#3373)

parent eefab8fb
...@@ -40,9 +40,7 @@ export default class App extends Component { ...@@ -40,9 +40,7 @@ export default class App extends Component {
} }
const containerProps = { Component, props, hash, router, url } const containerProps = { Component, props, hash, router, url }
return <div> return <Container {...containerProps} />
<Container {...containerProps} />
</div>
} }
} }
......
...@@ -3,7 +3,7 @@ import PropTypes from 'prop-types' ...@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
import htmlescape from 'htmlescape' import htmlescape from 'htmlescape'
import flush from 'styled-jsx/server' import flush from 'styled-jsx/server'
function Fragment ({ children }) { const Fragment = React.Fragment || function Fragment ({ children }) {
return children return children
} }
......
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