mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 10:42:12 +00:00
rerun Discover effect on url params changed
This commit is contained in:
parent
0980ad0f31
commit
f359a8c072
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ const Discover = ({ urlParams }) => {
|
|||
const category = urlParams.category || '';
|
||||
window.location.replace(`#/discover/${type}/${catalog}/${category}`);
|
||||
}
|
||||
}, []);
|
||||
}, [urlParams.type, urlParams.catalog]);
|
||||
return (
|
||||
<div className={styles['discover-container']}>
|
||||
<NavBar
|
||||
|
|
|
|||
Loading…
Reference in a new issue