Skip to content

Commit 3cf1407

Browse files
committed
fix: formatting
1 parent 8270e5f commit 3cf1407

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/ChessboardProvider.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,9 +574,12 @@ export function ChessboardProvider({
574574

575575
const sensors = useSensors(
576576
useSensor(PointerSensor, {
577-
activationConstraint: dragActivationDistance > 0 ? {
578-
distance: dragActivationDistance,
579-
} : undefined,
577+
activationConstraint:
578+
dragActivationDistance > 0
579+
? {
580+
distance: dragActivationDistance,
581+
}
582+
: undefined,
580583
}),
581584
useSensor(KeyboardSensor),
582585
useSensor(TouchSensor),

0 commit comments

Comments
 (0)