SessionStore extends flux.Store
This commit is contained in:
parent
2b4c87aca6
commit
da3cb0ee48
3 changed files with 19 additions and 14 deletions
|
@ -252,7 +252,7 @@ module.exports = React.createClass({
|
|||
}
|
||||
|
||||
this._sessionStore = sessionStore;
|
||||
this._sessionStore.on('update', this._setStateFromSessionStore);
|
||||
this._sessionStore.addListener(this._setStateFromSessionStore);
|
||||
this._setStateFromSessionStore();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue