mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
remove console log
This commit is contained in:
parent
be825cb37c
commit
79bcf7dcdf
@ -185,8 +185,6 @@ export function EventSegment({
|
|||||||
// Check if the first segment is out of view
|
// Check if the first segment is out of view
|
||||||
const firstSegment = firstMinimapSegmentRef.current;
|
const firstSegment = firstMinimapSegmentRef.current;
|
||||||
if (firstSegment && showMinimap && isFirstSegmentInMinimap) {
|
if (firstSegment && showMinimap && isFirstSegmentInMinimap) {
|
||||||
// Scroll the first segment into view
|
|
||||||
console.log("scrolling into view");
|
|
||||||
firstSegment.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
firstSegment.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
||||||
}
|
}
|
||||||
}, [showMinimap, isFirstSegmentInMinimap, timestampSpread]);
|
}, [showMinimap, isFirstSegmentInMinimap, timestampSpread]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user