diff --git a/src/components/structures/BottomLeftMenu.js b/src/components/structures/BottomLeftMenu.js index 668ca546..ffb867fe 100644 --- a/src/components/structures/BottomLeftMenu.js +++ b/src/components/structures/BottomLeftMenu.js @@ -41,7 +41,9 @@ module.exports = React.createClass({ }, componentWillMount: function() { - this.teamToken = window.localStorage.getItem('mx_team_token'); + this.setState({ + teamToken: window.localStorage.getItem('mx_team_token'), + }); }, // Room events