refactor: update state usages

This commit is contained in:
Derrick Hammer 2023-10-12 13:20:46 -04:00
parent fc82ac85f2
commit ef177cad5f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 2 deletions

View File

@ -65,11 +65,13 @@ async function boot(lume: LumeContextType) {
await kernel.serviceWorkerReady();
kernel.init().then(() => {
lume.setReady(true);
lume.setInited(true);
});
await kernelLoaded();
lume.setIsLoggedIn(true);
BOOT_FUNCTIONS.push(
async () =>
await swarmClient.addRelay(
@ -106,7 +108,7 @@ async function boot(lume: LumeContextType) {
await bootup();
lume.setIsLoggedIn(true);
lume.setReady(true);
await Promise.all([
ethClient.ready(),