mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
remove workaround for react-hot-loader
This commit is contained in:
parent
e1a231cd68
commit
0b20273c77
|
@ -53,11 +53,6 @@ export default class App extends Component {
|
|||
render () {
|
||||
const { Component, props } = this.state
|
||||
|
||||
if (typeof window === 'undefined') {
|
||||
// workaround for https://github.com/gaearon/react-hot-loader/issues/283
|
||||
return <Component {...props} />
|
||||
}
|
||||
|
||||
return <AppContainer>
|
||||
<Component {...props} />
|
||||
</AppContainer>
|
||||
|
|
Loading…
Reference in a new issue