mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +00:00
Unload Discover if cannot be loaded
This commit is contained in:
parent
3761890862
commit
bd754174d1
1 changed files with 4 additions and 0 deletions
|
|
@ -73,6 +73,10 @@ const useDiscover = (urlParams, queryParams) => {
|
||||||
args: discover.selectable.types[0].load_request
|
args: discover.selectable.types[0].load_request
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
action: 'Unload'
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [urlParams, queryParams]);
|
}, [urlParams, queryParams]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue