mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-22 20:26:50 +00:00
change position of fetch balance
This commit is contained in:
@@ -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("");
|
||||
|
Reference in New Issue
Block a user