Skip to content

Commit b6fa224

Browse files
committed
✨ (motionValues) remove unnecessary unmounted hook
1 parent 4ddd8e5 commit b6fa224

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/useMotionValues.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { tryOnUnmounted } from '@vueuse/shared'
21
import { del as __del, set as __set } from 'vue-demi'
32
import { getMotionValue, MotionValue } from './motionValue'
43
import { MotionProperties, MotionValuesMap } from './types'
@@ -53,9 +52,6 @@ export function useMotionValues() {
5352
return motionValue
5453
}
5554

56-
// Ensure everything is cleared on unmount
57-
tryOnUnmounted(stop)
58-
5955
return {
6056
motionValues,
6157
get,

0 commit comments

Comments
 (0)