mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
optimize useSelectableInputs
This commit is contained in:
parent
3b56402d56
commit
2744e583cd
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ const mapSelectableInputs = (discover) => {
|
|||
const useSelectableInputs = (discover) => {
|
||||
const selectableInputs = React.useMemo(() => {
|
||||
return mapSelectableInputs(discover);
|
||||
}, [discover]);
|
||||
}, [discover.selected, discover.selectable]);
|
||||
return selectableInputs;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue