mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
initialize core only if its active
This commit is contained in:
parent
447bbce375
commit
f0dcd8afe4
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const App = () => {
|
|||
}
|
||||
});
|
||||
}
|
||||
setCoreInitialized(services.core.active || services.core.error instanceof Error);
|
||||
setCoreInitialized(services.core.active);
|
||||
};
|
||||
services.shell.on('stateChanged', onShellStateChanged);
|
||||
services.core.on('stateChanged', onCoreStateChanged);
|
||||
|
|
|
|||
Loading…
Reference in a new issue