mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 10:42:12 +00:00
attach core service to window
This commit is contained in:
parent
9aec721767
commit
b12a8a3c9d
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ const App = () => {
|
|||
setCoreInitialized(services.core.active || services.core.error instanceof Error);
|
||||
if (services.core.active) {
|
||||
services.core.dispatch({ action: 'LoadCtx' });
|
||||
window.core = services.core;
|
||||
}
|
||||
};
|
||||
services.shell.on('stateChanged', onShellStateChanged);
|
||||
|
|
|
|||
Loading…
Reference in a new issue