Fixed issues with double page body and husky pre-commit hook

This commit is contained in:
Torkel Ödegaard
2019-02-12 12:49:40 +01:00
parent bc8418adac
commit 2c4cb03cd3
10 changed files with 583 additions and 587 deletions

View File

@@ -49,9 +49,9 @@ export class TeamPages extends PureComponent<Props, State> {
async fetchTeam() {
const { loadTeam, teamId } = this.props;
this.setState({isLoading: true});
this.setState({ isLoading: true });
const team = await loadTeam(teamId);
this.setState({isLoading: false});
this.setState({ isLoading: false });
return team;
}