1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-29 00:58:03 +02:00

Fix setState warning for EditionContainer

This commit is contained in:
Tim Daubenschütz 2015-12-09 13:28:11 +01:00
parent 057a278d19
commit 3e8e7a40e7

View File

@ -72,6 +72,7 @@ let EditionContainer = React.createClass({
componentWillUnmount() { componentWillUnmount() {
window.clearInterval(this.state.timerId); window.clearInterval(this.state.timerId);
EditionStore.unlisten(this.onChange); EditionStore.unlisten(this.onChange);
UserStore.unlisten(this.onChange);
}, },
onChange(state) { onChange(state) {