(e: React.MouseEvent<HTMLDivElement>)
| 19 | const previousDragPosition = useRef<{ x: number; y: number } | null>(null); |
| 20 | |
| 21 | const handleDragStart = (e: React.MouseEvent<HTMLDivElement>): void => { |
| 22 | previousDragPosition.current = { |
| 23 | x: e.clientX, |
| 24 | y: e.clientY, |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | const handleDrag = (e: MouseEvent) => { |
| 29 | if (previousDragPosition.current == null) { |
nothing calls this directly
no outgoing calls
no test coverage detected