Skip to content

Commit

Permalink
Merge pull request #45759 from nyomanjyotisa/issue-45754
Browse files Browse the repository at this point in the history
remove duplicate api calls on wallet page load
  • Loading branch information
mountiny authored Jul 19, 2024
2 parents 46bc6a7 + 7629eae commit 3022d85
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pages/settings/Wallet/WalletPage/WalletPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,6 @@ function WalletPage({bankAccountList = {}, cardList = {}, fundList = {}, isLoadi
Navigation.navigate(source === CONST.KYC_WALL_SOURCE.ENABLE_WALLET ? ROUTES.SETTINGS_WALLET : ROUTES.SETTINGS_WALLET_TRANSFER_BALANCE);
};

useEffect(() => {
PaymentMethods.openWalletPage();
}, []);

useEffect(() => {
// If the user was previously offline, skip debouncing showing the loader
if (!network.isOffline) {
Expand Down

0 comments on commit 3022d85

Please sign in to comment.