Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daledah committed Oct 2, 2024
1 parent 1f17dba commit d4db6a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/AddPersonalBankAccountPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function AddPersonalBankAccountPage() {
} else if (shouldContinue && onSuccessFallbackRoute) {
PaymentMethods.continueSetup(onSuccessFallbackRoute);
} else {
Navigation.navigate(ROUTES.SETTINGS_WALLET);
Navigation.goBack();
}
},
[personalBankAccount],
Expand Down
3 changes: 2 additions & 1 deletion src/pages/settings/Wallet/PaymentMethodList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ function PaymentMethodList({
text={translate('walletPage.addBankAccount')}
large
success
isDisabled={!isUserValidated}
onPress={onPress}
/>
) : (
Expand All @@ -346,7 +347,7 @@ function PaymentMethodList({
/>
),

[shouldShowAddBankAccountButton, translate, onPress, buttonRef, styles.paymentMethod, listItemStyle, isUserValidated],
[shouldShowAddBankAccountButton, onPressItem, translate, onPress, buttonRef, styles.paymentMethod, listItemStyle, isUserValidated],
);

/**
Expand Down

0 comments on commit d4db6a3

Please sign in to comment.