diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx index a436de57d1..df33f47ff1 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();