Fix linting errors

This commit is contained in:
David Baker 2017-06-27 13:13:00 +01:00
parent 2aeaaf26ca
commit 6c9716637e
2 changed files with 10 additions and 8 deletions

View file

@ -487,10 +487,12 @@ module.exports = React.createClass({
this.notifyNewScreen('directory');
break;
case 'view_group':
const groupId = payload.group_id;
this.setState({currentGroupId: groupId});
this._setPage(PageTypes.GroupView);
this.notifyNewScreen('group/' + groupId);
{
const groupId = payload.group_id;
this.setState({currentGroupId: groupId});
this._setPage(PageTypes.GroupView);
this.notifyNewScreen('group/' + groupId);
}
break;
case 'view_home_page':
this._setPage(PageTypes.HomePage);