Skip to content

Commit 8f102fc

Browse files
ci: apply automated fixes
1 parent 6bee559 commit 8f102fc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/devtools/src/components/trigger.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ export const Trigger = (props: {
187187
if (!dragging) return
188188
dragging = false
189189
const el = buttonRef()
190-
if (el?.hasPointerCapture(e.pointerId)) el.releasePointerCapture(e.pointerId)
190+
if (el?.hasPointerCapture(e.pointerId))
191+
el.releasePointerCapture(e.pointerId)
191192
// If the pointer sat still before release, the last flick velocity is
192193
// stale — don't launch a throw the user didn't actually make.
193194
if (e.timeStamp - lastT > 50) {

0 commit comments

Comments
 (0)