Skip to content

Commit

Permalink
removed hasError prop from AddressForm & CompanyStep
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshmangwani committed Apr 25, 2022
1 parent 9e93cda commit cee55cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/pages/ReimbursementAccount/AddressForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const AddressForm = props => (
value={props.values.state}
onChange={value => props.onFieldChange({state: value})}
errorText={props.errors.state ? props.translate('bankAccount.error.addressState') : ''}
hasError={Boolean(props.errors.state)}
/>
</View>
</View>
Expand Down
1 change: 0 additions & 1 deletion src/pages/ReimbursementAccount/CompanyStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ class CompanyStep extends React.Component {
onInputChange={value => this.clearErrorAndSetValue('incorporationState', value)}
value={this.state.incorporationState}
errorText={this.getErrorText('incorporationState')}
hasError={this.getErrors().incorporationState}
/>
</View>
<CheckboxWithLabel
Expand Down

0 comments on commit cee55cb

Please sign in to comment.