Skip to content

Commit 5d91e59

Browse files
authored
chore: update readme reanimated example (#47)
1 parent ed31fa2 commit 5d91e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default function App() {
149149
useEffect(() => {
150150
// Will play the animation once …
151151
progress.value = withTiming(1, {
152-
duration: duration,
152+
duration: duration * 1000,
153153
easing: Easing.linear,
154154
});
155155
// … if you want to loop you could use withRepeat

0 commit comments

Comments
 (0)