mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 11:42:05 +00:00
dispatch SyncLibraryWithAPI on app initialized
This commit is contained in:
parent
6f627dcbee
commit
1dd5b04204
1 changed files with 6 additions and 0 deletions
|
|
@ -103,6 +103,12 @@ const App = () => {
|
||||||
action: 'PullUserFromAPI'
|
action: 'PullUserFromAPI'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
services.core.transport.dispatch({
|
||||||
|
action: 'Ctx',
|
||||||
|
args: {
|
||||||
|
action: 'SyncLibraryWithAPI'
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}, [initialized]);
|
}, [initialized]);
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue