Remove old autobind. Teams page tweaks

This commit is contained in:
John Lyon-Smith
2018-03-27 08:15:01 -07:00
parent c08d8d6937
commit 83ca3cba31
7 changed files with 10 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ export class Teams extends Component {
api.listTeams().then((list) => {
list.items.sort((teamA, teamB) => (teamA.lastName.localeCompare(teamB.lastName)))
this.setState({ teams: list.items, selectedTeam: list.items[0] }) // TODO: <- Remove
this.setState({ teams: list.items }) // TODO: <- Remove
}).catch((error) => {
this.setState({
messageModal: {