refactor: update state usages
This commit is contained in:
parent
fc82ac85f2
commit
ef177cad5f
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue