Skip to content

Commit

Permalink
remove duplicate api calls on wallet page load
Browse files Browse the repository at this point in the history
  • Loading branch information
nyomanjyotisa committed Jul 19, 2024
1 parent 58fc7e4 commit 7629eae
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 7629eae

Please sign in to comment.