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 2ca35ba commit dce06e2Copy full SHA for dce06e2
packages/plugin-reanimated/src/exports/withDelay.tsx
@@ -9,11 +9,11 @@ export type WithDelayFn = (
9
10
export const withDelay: WithDelayFn = (
11
_delayMs,
12
- _nextAnimation,
+ nextAnimation,
13
_reduceMotion,
14
): AnimationObject => {
15
// withTiming and withSpring supports `delay`. The client should pass it directly
16
- return typeof _nextAnimation === 'function'
17
- ? (_nextAnimation as () => AnimationObject)()
18
- : (_nextAnimation as AnimationObject);
+ return typeof nextAnimation === 'function'
+ ? (nextAnimation as () => AnimationObject)()
+ : (nextAnimation as AnimationObject);
19
};
0 commit comments