mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +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
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
action: 'Unload'
|
||||
};
|
||||
}
|
||||
}
|
||||
}, [urlParams, queryParams]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue