Skip to content

Commit

Permalink
Undo useless changes to settlement button
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-marcellini committed Oct 10, 2023
1 parent 7097883 commit dc8bc3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/SettlementButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,14 @@ function SettlementButton({

onPress(iouPaymentType);
};
const hasErrors = !_.isEmpty(iouReport.errorFields) || !_.isEmpty(iouReport.errors);

return (
<KYCWall
onSuccessfulKYC={onPress}
enablePaymentsRoute={enablePaymentsRoute}
addBankAccountRoute={addBankAccountRoute}
addDebitCardRoute={addDebitCardRoute}
isDisabled={isOffline || hasErrors}
isDisabled={isOffline}
chatReportID={chatReportID}
iouReport={iouReport}
anchorAlignment={anchorAlignment}
Expand Down

0 comments on commit dc8bc3b

Please sign in to comment.