We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a121c5a commit aa3fd1cCopy full SHA for aa3fd1c
src/hooks/useSpring.js
@@ -1,4 +1,4 @@
1
-import React, {
+import {
2
useState,
3
useRef,
4
useImperativeMethods,
@@ -41,7 +41,7 @@ export function useSpring(args) {
41
},
42
[onRest, onKeyframesHalt, props.ref]
43
)
44
-
+
45
// Update next frame is props aren't functional
46
useEffect(() => void (!isFn && updateCtrl(props)))
47
// Return animated props, or, anim-props + the update-setter above
0 commit comments