Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Linting fix for InputFieldWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaozhou Li committed Feb 10, 2020
1 parent 695f000 commit 7bb3594
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/input_fields/input_field_wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ export class InputFieldWrapper extends React.Component<InputFieldWrapperProps, {
}

private _showValidationError(): boolean {
const { validationError, submitted, touched, showValidationError } = this.props;
const {
validationError, submitted, touched, showValidationError,
} = this.props;
return validationError && (touched || submitted) && showValidationError;
}

Expand Down

0 comments on commit 7bb3594

Please sign in to comment.