Skip to content

Commit

Permalink
Merge pull request #3786 from Expensify/jasper-fixPaymentsButton
Browse files Browse the repository at this point in the history
Fix isDisabled check for the payments button
  • Loading branch information
Julesssss authored Jun 30, 2021
2 parents 1ae1d6e + ea43339 commit c555295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/PaymentsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class PaymentsPage extends React.Component {
<FixedFooter>
<Button
success
isDisabled={!this.state.payPalMeUsername}
isDisabled={Boolean(this.props.payPalMeUsername)}
onPress={this.setPayPalMeUsername}
style={[styles.mt3]}
text={this.props.translate('paymentsPage.addPayPalAccount')}
Expand Down

0 comments on commit c555295

Please sign in to comment.