Skip to content

Commit

Permalink
removing test file and reverting an unnecessary conditional change
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragsalian committed Aug 7, 2021
1 parent 8cc1b27 commit 2c75b4b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pages/ReimbursementAccount/CompanyStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class CompanyStep extends React.Component {
hasNoConnectionToCannabis: lodashGet(props, ['achData', 'hasNoConnectionToCannabis'], false),
password: '',
isConfirmModalOpen: false,
confirmModalPrompt: '',
};

// These fields need to be filled out in order to submit the form
Expand All @@ -71,7 +70,11 @@ class CompanyStep extends React.Component {
return false;
}

if (!isValidAddress(this.state.addressStreet) || this.state.addressState === '') {
if (!isValidAddress(this.state.addressStreet)) {
return false;
}

if (this.state.addressState === '') {
return false;
}

Expand Down

0 comments on commit 2c75b4b

Please sign in to comment.