Skip to content

Commit 8b291cc

Browse files
committed
Remove duplicate checks
1 parent 3b545d0 commit 8b291cc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/pages/ReimbursementAccount/CompanyStep.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,11 @@ class CompanyStep extends React.Component {
6565
* @returns {Boolean}
6666
*/
6767
validate() {
68-
if (!this.state.password.trim()) {
69-
Growl.error(this.props.translate('common.passwordCannotBeBlank'));
70-
return false;
71-
}
72-
7368
if (!isValidAddress(this.state.addressStreet)) {
7469
Growl.error(this.props.translate('bankAccount.error.addressStreet'));
7570
return false;
7671
}
7772

78-
if (this.state.addressState === '') {
79-
Growl.error(this.props.translate('bankAccount.error.addressState'));
80-
return false;
81-
}
82-
8373
if (!isValidZipCode(this.state.addressZipCode)) {
8474
Growl.error(this.props.translate('bankAccount.error.zipCode'));
8575
return false;

0 commit comments

Comments
 (0)