mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
use location.replace when open addon details
This commit is contained in:
parent
63667fb1ac
commit
e505c1e9ae
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ const useAddonDetailsTransportUrl = (urlParams, queryParams) => {
|
|||
nextQueryParams.delete('addon');
|
||||
}
|
||||
|
||||
window.location = `#${urlParams.path}?${nextQueryParams}`;
|
||||
window.location.replace(`#${urlParams.path}?${nextQueryParams}`);
|
||||
}, [urlParams, queryParams]);
|
||||
return [transportUrl, setTransportUrl];
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue