diff --git a/src/App.tsx b/src/App.tsx index 4e4d9a9..a01a4eb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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("");