mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 23:12:13 +00:00
fix: season search replace url
This commit is contained in:
parent
75f0820a10
commit
8876cea34b
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ const MetaDetails = () => {
|
|||
const searchVideoHash = encodeURIComponent(`${urlParams.id}:${season}:${episode}`);
|
||||
const url = location.pathname;
|
||||
const searchVideoPath = url.replace(encodeURIComponent(urlParams.videoId), searchVideoHash);
|
||||
navigate(searchVideoPath);
|
||||
navigate(searchVideoPath, { replace: true });
|
||||
}, [urlParams, location]);
|
||||
|
||||
const renderBackgroundImageFallback = React.useCallback(() => null, []);
|
||||
|
|
|
|||
Loading…
Reference in a new issue