mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 13:15:25 +03:00
Simplify
This commit is contained in:
parent
0be7194f94
commit
c3256c79de
@ -713,7 +713,9 @@ function MotionReview({
|
|||||||
Object.values(videoPlayersRef.current).forEach((controller) => {
|
Object.values(videoPlayersRef.current).forEach((controller) => {
|
||||||
controller.scrubToTimestamp(currentTime);
|
controller.scrubToTimestamp(currentTime);
|
||||||
});
|
});
|
||||||
}, [currentTime, currentTimeRange, timeRangeSegments]);
|
// only refresh when current time or available segments changes
|
||||||
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, [currentTime, timeRangeSegments]);
|
||||||
|
|
||||||
// playback
|
// playback
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user