Fix bug with home icon not appearing when logged in as team member

This commit is contained in:
Luke Barnard 2017-02-07 14:58:25 +00:00
parent 2f54034afe
commit 5b239adfb8

View File

@ -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