Remove dependency resolution override for React 19 types (#39569)
Co-authored-by: ChaosExAnima <ChaosExAnima@users.noreply.github.com>
This commit is contained in:
1 parent
f440615b01
commit
f2e10fd5db
52 files changed
+112
-110
No files matched your search
@@ -6,7 +6,7 @@ export const useSelectableClick = (
|
||||
onClick: React.MouseEventHandler,
|
||||
maxDelta = 5,
|
||||
) => {
|
||||
const clickPositionRef = useRef<Position | null>(null);
|
||||
const clickPositionRef = useRef<Position>(null);
|
||||
|
||||
const handleMouseDown = useCallback((e: React.MouseEvent) => {
|
||||
clickPositionRef.current = [e.clientX, e.clientY];
|
||||
|
||||
Reference in new issue
Block a user