SessionStore extends flux.Store

This commit is contained in:
Luke Barnard 2017-05-15 14:52:19 +01:00
parent 2b4c87aca6
commit da3cb0ee48
3 changed files with 19 additions and 14 deletions

View file

@ -252,7 +252,7 @@ module.exports = React.createClass({
}
this._sessionStore = sessionStore;
this._sessionStore.on('update', this._setStateFromSessionStore);
this._sessionStore.addListener(this._setStateFromSessionStore);
this._setStateFromSessionStore();
},