docs: Add missing dependency
This commit is contained in:
parent
39a8ce9dc2
commit
5508dae8b6
@ -62,7 +62,7 @@ const catBounds = useSharedValue({ top: 0, left: 0, right: 0, bottom: 0 })
|
|||||||
const frameProcessor = useFrameProcessor((frame) => {
|
const frameProcessor = useFrameProcessor((frame) => {
|
||||||
'worklet'
|
'worklet'
|
||||||
catBounds.value = scanFrameForCat(frame)
|
catBounds.value = scanFrameForCat(frame)
|
||||||
}, [])
|
}, [catBounds])
|
||||||
|
|
||||||
const boxOverlayStyle = useAnimatedStyle(() => ({
|
const boxOverlayStyle = useAnimatedStyle(() => ({
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
|
Loading…
Reference in New Issue
Block a user