mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fixed some problems with standard (#1331)
This commit is contained in:
parent
631289f706
commit
bc47aac8f4
|
@ -5,7 +5,6 @@ import Clock from './Clock'
|
||||||
|
|
||||||
@inject('store') @observer
|
@inject('store') @observer
|
||||||
class Page extends React.Component {
|
class Page extends React.Component {
|
||||||
|
|
||||||
componentDidMount () {
|
componentDidMount () {
|
||||||
this.props.store.start()
|
this.props.store.start()
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,6 @@ export default class App extends Component {
|
||||||
{ErrorDebug && err ? <ErrorDebug error={err} /> : null}
|
{ErrorDebug && err ? <ErrorDebug error={err} /> : null}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Container extends Component {
|
class Container extends Component {
|
||||||
|
|
|
@ -25,4 +25,3 @@ export default class WatchPagesPlugin {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ const linkStyle = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class extends Component {
|
export default class extends Component {
|
||||||
|
|
||||||
increase () {
|
increase () {
|
||||||
counter++
|
counter++
|
||||||
this.forceUpdate()
|
this.forceUpdate()
|
||||||
|
|
Loading…
Reference in a new issue