Skip to content

Commit dce06e2

Browse files
committed
remove _ for used const
1 parent 2ca35ba commit dce06e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/plugin-reanimated/src/exports/withDelay.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ export type WithDelayFn = (
99

1010
export const withDelay: WithDelayFn = (
1111
_delayMs,
12-
_nextAnimation,
12+
nextAnimation,
1313
_reduceMotion,
1414
): AnimationObject => {
1515
// withTiming and withSpring supports `delay`. The client should pass it directly
16-
return typeof _nextAnimation === 'function'
17-
? (_nextAnimation as () => AnimationObject)()
18-
: (_nextAnimation as AnimationObject);
16+
return typeof nextAnimation === 'function'
17+
? (nextAnimation as () => AnimationObject)()
18+
: (nextAnimation as AnimationObject);
1919
};

0 commit comments

Comments
 (0)