Fix eslint error

This commit is contained in:
Yuya Ochiai 2017-09-04 23:31:47 +09:00
parent fccab551e2
commit 2399235fce

View file

@ -19,12 +19,12 @@ class NewTeamModal extends React.Component {
} }
initializeOnShow() { initializeOnShow() {
this.state = { this.setState({
teamName: this.props.team ? this.props.team.name : '', teamName: this.props.team ? this.props.team.name : '',
teamUrl: this.props.team ? this.props.team.url : '', teamUrl: this.props.team ? this.props.team.url : '',
teamIndex: this.props.team ? this.props.team.index : false, teamIndex: this.props.team ? this.props.team.index : false,
saveStarted: false saveStarted: false
}; });
} }
getTeamNameValidationError() { getTeamNameValidationError() {