Fix area check

This commit is contained in:
Nicolas Mowen 2025-05-20 16:05:07 -06:00
parent 34f1d875ab
commit 9a3f70ee2e

View File

@ -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