Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
benchristel committed Mar 6, 2024
1 parent b1aaea9 commit ea71276
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/interaction/MovablePoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,7 @@ export function MovablePoint({

const { dragging } = useMovementInteraction({ gestureTarget: ref, onMove, point, constrain })

return (
<MovablePointDisplay
ref={ref}
point={point}
color={color}
dragging={dragging}
/>
)
return <MovablePointDisplay ref={ref} point={point} color={color} dragging={dragging} />
}

MovablePoint.displayName = "MovablePoint"

0 comments on commit ea71276

Please sign in to comment.