Fix react dep list
This commit is contained in:
parent
eb15229463
commit
832c128c43
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ export function usePointerCapturing(forDebugName: string): PointerCapturing {
|
|||
// force release on unmount
|
||||
control.forceRelease()
|
||||
}
|
||||
}, [forDebugName, pointerCapturingFn])
|
||||
}, [control])
|
||||
|
||||
return control.capturing
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue