Fix eslint error
This commit is contained in:
parent
fccab551e2
commit
2399235fce
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue