Remove old autobind. Teams page tweaks
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user