Remove loading screen after getting all important data

This commit is contained in:
Marco van Dijk 2022-03-06 01:42:01 +01:00
parent 96a993ba79
commit b6e1ce938f

View File

@ -25,6 +25,7 @@ const Startup = (obj) => {
dispatch(getBlockchainData()); dispatch(getBlockchainData());
dispatch(getCurrentOrchestratorInfo()); dispatch(getCurrentOrchestratorInfo());
}); });
setIsLoaded(true);
} }
const refreshLogin = () => { const refreshLogin = () => {
@ -33,7 +34,6 @@ const Startup = (obj) => {
dispatch(login()); dispatch(login());
dispatch(getVisitorStats()); dispatch(getVisitorStats());
}); });
setIsLoaded(true);
} }
useEffect(() => { useEffect(() => {