mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 20:02:01 +00:00
discover core message adapted to changes in core
This commit is contained in:
parent
889563f1fa
commit
21890c72bd
1 changed files with 11 additions and 8 deletions
|
|
@ -55,6 +55,8 @@ const useCatalog = (urlParams, queryParams) => {
|
|||
};
|
||||
core.on('NewModel', onNewModel);
|
||||
core.dispatch({
|
||||
model: 'Discover',
|
||||
args: {
|
||||
action: 'Load',
|
||||
args: {
|
||||
load: 'CatalogFiltered',
|
||||
|
|
@ -68,6 +70,7 @@ const useCatalog = (urlParams, queryParams) => {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
return () => {
|
||||
core.off('NewModel', onNewModel);
|
||||
|
|
|
|||
Loading…
Reference in a new issue