change position of fetch balance

This commit is contained in:
Phillip Lang Martinez 2024-07-18 11:22:51 -04:00
parent 9777550741
commit 5d745f734d

View File

@ -443,7 +443,6 @@ function App() {
}
});
getBalanceFunc();
getLtcBalanceFunc()
} catch (error) { }
}, [address]);
@ -453,6 +452,12 @@ function App() {
};
}, []);
useEffect(()=> {
if(authenticatedMode === 'ltc' && !ltcBalanceLoading && ltcBalance === null ){
getLtcBalanceFunc()
}
}, [authenticatedMode])
const confirmPasswordToDownload = async () => {
try {
setWalletToBeDownloadedError("");