Skip to content

Commit

Permalink
Update useSelectable.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
linxianxi authored Feb 26, 2024
1 parent 5e2b4f4 commit 7161acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSelectable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function useSelectable<T>({
const setNodeRef = useCallback((ref: HTMLElement | null) => {
node.current = ref;
}, []);
console.log('10');
console.log('11');
useEffect(() => {
if (startTarget && !startInside.current) {
const contain = node.current?.contains(startTarget);
Expand Down

0 comments on commit 7161acb

Please sign in to comment.