1
0
Fork 0
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:
nkzawa 2016-12-04 07:06:47 +09:00
parent e1a231cd68
commit 0b20273c77

View file

@ -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>