From 50aaeca20e72ac2c556b85a9c7a86b34ac74f86b Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Sat, 9 Mar 2024 01:50:13 +0800 Subject: [PATCH 1/2] don't use fallback route --- src/pages/settings/Wallet/TransferBalancePage.tsx | 2 -- 1 file changed, 2 deletions(-) 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)} /> From 87f0056e9ad756b5d89e16bff7f7c3e677eca7e6 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Sat, 9 Mar 2024 22:26:47 +0800 Subject: [PATCH 2/2] don't use fallback route --- src/libs/actions/PaymentMethods.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /**