mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 23:12:13 +00:00
ctx dep added to addons hooks
This commit is contained in:
parent
09dfeb1d42
commit
064bae9a58
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ const useInstalledAddons = (urlParams) => {
|
|||
};
|
||||
}
|
||||
}, [urlParams]);
|
||||
return useModelState({ model: 'installed_addons', action });
|
||||
return useModelState({ model: 'installed_addons', action, deps: ['ctx'] });
|
||||
};
|
||||
|
||||
module.exports = useInstalledAddons;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ const useRemoteAddons = (urlParams) => {
|
|||
};
|
||||
}
|
||||
}, [urlParams]);
|
||||
return useModelState({ model: 'remote_addons', action });
|
||||
return useModelState({ model: 'remote_addons', action, deps: ['ctx'] });
|
||||
};
|
||||
|
||||
module.exports = useRemoteAddons;
|
||||
|
|
|
|||
Loading…
Reference in a new issue