Fix react dep list

This commit is contained in:
Andrew Prifer 2022-05-30 18:50:11 +02:00 committed by Cole Lawrence
parent eb15229463
commit 832c128c43

View file

@ -148,7 +148,7 @@ export function usePointerCapturing(forDebugName: string): PointerCapturing {
// force release on unmount
control.forceRelease()
}
}, [forDebugName, pointerCapturingFn])
}, [control])
return control.capturing
}