mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-04 06:33:45 +00:00
Fix area check
This commit is contained in:
parent
34f1d875ab
commit
9a3f70ee2e
@ -901,7 +901,9 @@ function FaceAttempt({
|
||||
}
|
||||
|
||||
return imgRef.current.naturalWidth * imgRef.current.naturalHeight;
|
||||
}, [imgRef]);
|
||||
// only refresh when severity changes
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [imgRef.current]);
|
||||
|
||||
// api calls
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user