diff --git a/src/libs/actions/PaymentMethods.ts b/src/libs/actions/PaymentMethods.ts index 13e0a42e839f..dc8cefc0c30e 100644 --- a/src/libs/actions/PaymentMethods.ts +++ b/src/libs/actions/PaymentMethods.ts @@ -295,7 +295,7 @@ function saveWalletTransferMethodType(filterPaymentMethodType?: FilterMethodPaym function dismissSuccessfulTransferBalancePage() { Onyx.merge(ONYXKEYS.WALLET_TRANSFER, {shouldShowSuccess: false}); - Navigation.goBack(ROUTES.SETTINGS_WALLET); + Navigation.goBack(); } /** diff --git a/src/pages/settings/Wallet/TransferBalancePage.tsx b/src/pages/settings/Wallet/TransferBalancePage.tsx index 85b7bef0550c..b50e5520a999 100644 --- a/src/pages/settings/Wallet/TransferBalancePage.tsx +++ b/src/pages/settings/Wallet/TransferBalancePage.tsx @@ -156,12 +156,10 @@ function TransferBalancePage({bankAccountList, fundList, userWallet, walletTrans titleKey="notFound.pageNotFound" subtitleKey="transferAmountPage.notHereSubTitle" linkKey="transferAmountPage.goToWallet" - onLinkPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET)} > Navigation.goBack(ROUTES.SETTINGS_WALLET)} />