revert: chore lint 1

This commit is contained in:
Timothy Z. 2025-05-02 19:48:04 +03:00
parent ebb15463b4
commit 17312f64fd

View file

@ -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);