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();
|
await kernel.serviceWorkerReady();
|
||||||
|
|
||||||
kernel.init().then(() => {
|
kernel.init().then(() => {
|
||||||
lume.setReady(true);
|
lume.setInited(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
await kernelLoaded();
|
await kernelLoaded();
|
||||||
|
|
||||||
|
lume.setIsLoggedIn(true);
|
||||||
|
|
||||||
BOOT_FUNCTIONS.push(
|
BOOT_FUNCTIONS.push(
|
||||||
async () =>
|
async () =>
|
||||||
await swarmClient.addRelay(
|
await swarmClient.addRelay(
|
||||||
|
@ -106,7 +108,7 @@ async function boot(lume: LumeContextType) {
|
||||||
|
|
||||||
await bootup();
|
await bootup();
|
||||||
|
|
||||||
lume.setIsLoggedIn(true);
|
lume.setReady(true);
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
ethClient.ready(),
|
ethClient.ready(),
|
||||||
|
|
Loading…
Reference in New Issue