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