mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-14 19:31:37 +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();
|
ended();
|
||||||
if (player.nextVideo !== null) {
|
if (player.nextVideo !== null) {
|
||||||
nextVideo();
|
onNextVideoRequested();
|
||||||
const deepLinks = player.nextVideo.deepLinks;
|
|
||||||
handleNextVideoNavigation(deepLinks);
|
|
||||||
} else {
|
} else {
|
||||||
window.history.back();
|
window.history.back();
|
||||||
}
|
}
|
||||||
}, [player.nextVideo, nextVideo, handleNextVideoNavigation]);
|
}, [player.nextVideo, onNextVideoRequested]);
|
||||||
|
|
||||||
const onError = React.useCallback((error) => {
|
const onError = React.useCallback((error) => {
|
||||||
console.error('Player', error);
|
console.error('Player', error);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue