remove(Player): unnecessary returns

This commit is contained in:
Timothy Z. 2025-05-05 17:51:12 +02:00
parent b51791baa0
commit 4d53952368

View file

@ -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(() => {