Skip to content

Commit

Permalink
Merge pull request #20117 from Pujan92/fix/19752
Browse files Browse the repository at this point in the history
Fix: Console error on click of the paypal payment method where Make default payment method option isn’t available
  • Loading branch information
NikkiWines authored Jun 6, 2023
2 parents 08b1bf6 + 46cba9e commit 14bc16d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ class BasePaymentsPage extends React.Component {
showConfirmDeleteContent: true,
});
}}
style={[shouldShowMakeDefaultButton && styles.mt4]}
style={[shouldShowMakeDefaultButton ? styles.mt4 : {}]}
text={this.props.translate('common.delete')}
danger
/>
Expand Down

0 comments on commit 14bc16d

Please sign in to comment.