Eslint formatting updates (#4234)
* Eslint updated (newline-after-var) * Fix newline-after-var * Eslint updated (one-var-declaration-per-line) * Fix one-var-declaration-per-line * Fix additional errors * Lint after merge
This commit is contained in:
@@ -98,11 +98,11 @@ export default class InputText extends Component {
|
||||
|
||||
onChange = (event) => {
|
||||
const value = event.target.value;
|
||||
|
||||
// So we can focus on the input after async validation
|
||||
event.persist();
|
||||
|
||||
const { validationType, contract } = this.props;
|
||||
|
||||
const validation = validate(value, validationType, contract);
|
||||
|
||||
if (validation instanceof Promise) {
|
||||
|
||||
Reference in New Issue
Block a user