mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-21 00:06:44 +01:00
Fix debug camera image not updating when loading (#12394)
This commit is contained in:
parent
4ee8557061
commit
fe4a737421
@ -48,6 +48,8 @@ export default function CameraImage({
|
||||
}
|
||||
}, [containerWidth, containerHeight, hasLoaded]);
|
||||
|
||||
useEffect(() => setHasLoaded(false), [camera]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!config || !imgRef.current) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user