diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-12-02 11:16:10 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-12-02 11:16:10 -0500 |
commit | 2abb0ae354239cbdf95cc4d0076846277865786a (patch) | |
tree | 4b42ffb10d730062ef909b3511e41c610635325c /web/react/components | |
parent | 9adcbe58fe4f39ab9da50f283f8003f416b8fb4d (diff) | |
download | chat-2abb0ae354239cbdf95cc4d0076846277865786a.tar.gz chat-2abb0ae354239cbdf95cc4d0076846277865786a.tar.bz2 chat-2abb0ae354239cbdf95cc4d0076846277865786a.zip |
Minor change
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/sidebar.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx index a436de57d..df33f47ff 100644 --- a/web/react/components/sidebar.jsx +++ b/web/react/components/sidebar.jsx @@ -172,8 +172,7 @@ export default class Sidebar extends React.Component { }); } onChange() { - const newState = this.getStateFromStores(); - this.setState(newState); + this.setState(this.getStateFromStores()); } updateTitle() { const channel = ChannelStore.getCurrent(); |