Skip to content

Commit aa3fd1c

Browse files
committed
useSpring cleanup
1 parent a121c5a commit aa3fd1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/useSpring.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, {
1+
import {
22
useState,
33
useRef,
44
useImperativeMethods,
@@ -41,7 +41,7 @@ export function useSpring(args) {
4141
},
4242
[onRest, onKeyframesHalt, props.ref]
4343
)
44-
44+
4545
// Update next frame is props aren't functional
4646
useEffect(() => void (!isFn && updateCtrl(props)))
4747
// Return animated props, or, anim-props + the update-setter above

0 commit comments

Comments
 (0)