Skip to content

Commit

Permalink
chore(useDraggable): import using vue-demi
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred-Skyblue committed Jan 2, 2024
1 parent 6fca593 commit 1c7cf67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/useDraggable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {
onMounted,
onUnmounted,
unref,
nextTick,
watch,
type Ref
} from 'vue-demi'
import type { Fn, RefOrElement, RefOrValue } from './types'
Expand All @@ -24,7 +26,6 @@ import {
removeElement,
removeNode
} from './utils'
import { nextTick, watch } from 'vue'

function defaultClone<T>(element: T): T {
if (element === undefined || element === null) return element
Expand Down

0 comments on commit 1c7cf67

Please sign in to comment.