mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
revert: chore lint 1
This commit is contained in:
parent
ebb15463b4
commit
17312f64fd
1 changed files with 2 additions and 4 deletions
|
|
@ -123,13 +123,11 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
|
||||
ended();
|
||||
if (player.nextVideo !== null) {
|
||||
nextVideo();
|
||||
const deepLinks = player.nextVideo.deepLinks;
|
||||
handleNextVideoNavigation(deepLinks);
|
||||
onNextVideoRequested();
|
||||
} else {
|
||||
window.history.back();
|
||||
}
|
||||
}, [player.nextVideo, nextVideo, handleNextVideoNavigation]);
|
||||
}, [player.nextVideo, onNextVideoRequested]);
|
||||
|
||||
const onError = React.useCallback((error) => {
|
||||
console.error('Player', error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue