Upgrade ESlint to v8 (#23305)

This commit is contained in:
Nick Schonning
2023-01-29 19:45:35 -05:00
committed by GitHub
parent b58bf74e35
commit c49213f0ea
120 changed files with 832 additions and 810 deletions

View File

@@ -90,7 +90,7 @@ class AccountNote extends ImmutablePureComponent {
setTextareaRef = c => {
this.textarea = c;
}
};
handleChange = e => {
this.setState({ value: e.target.value, saving: false });
@@ -114,13 +114,13 @@ class AccountNote extends ImmutablePureComponent {
}
});
}
}
};
handleBlur = () => {
if (this._isDirty()) {
this._save();
}
}
};
_save (showMessage = true) {
this.setState({ saving: true }, () => this.props.onSave(this.state.value));