mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
remove(Player): unnecessary returns
This commit is contained in:
parent
b51791baa0
commit
4d53952368
1 changed files with 0 additions and 3 deletions
|
|
@ -107,13 +107,10 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
if (deepLinks.player) {
|
||||
isNavigating.current = true;
|
||||
window.location.replace(deepLinks.player);
|
||||
return true;
|
||||
} else if (deepLinks.metaDetailsStreams) {
|
||||
isNavigating.current = true;
|
||||
window.location.replace(deepLinks.metaDetailsStreams);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}, []);
|
||||
|
||||
const onEnded = React.useCallback(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue