1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01: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() {
window.clearInterval(this.state.timerId);
EditionStore.unlisten(this.onChange);
UserStore.unlisten(this.onChange);
},
onChange(state) {