mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
refactor(Player): remove unecessary dep onSeekRequested callback
This commit is contained in:
parent
bd6367ef50
commit
941d8d7822
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
const onSeekRequested = React.useCallback((time) => {
|
||||
video.setProp('time', time);
|
||||
seek(time, video.state.duration, video.state.manifest?.name);
|
||||
}, [video.state.time, video.state.duration, video.state.manifest]);
|
||||
}, [video.state.duration, video.state.manifest]);
|
||||
|
||||
const onPlaybackSpeedChanged = React.useCallback((rate) => {
|
||||
video.setProp('playbackSpeed', rate);
|
||||
|
|
|
|||
Loading…
Reference in a new issue