Skip to content

Commit 686fadd

Browse files
committed
removed forAnimated from attachHandlers
1 parent f3198f5 commit 686fadd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/react-native-gesture-handler/src/handlers/createHandler.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ type AttachGestureHandlerWeb = (
160160
// eslint-disable-next-line @typescript-eslint/no-explicit-any
161161
newView: any,
162162
_actionType: ActionType,
163-
propsRef: React.RefObject<unknown>,
164-
forAnimated: boolean
163+
propsRef: React.RefObject<unknown>
165164
) => void;
166165

167166
const UNRESOLVED_REFS_RETRY_LIMIT = 1;
@@ -350,8 +349,7 @@ export default function createHandler<
350349
this.handlerTag,
351350
newViewTag,
352351
ActionType.JS_FUNCTION_OLD_API, // ignored on web
353-
this.propsRef,
354-
false
352+
this.propsRef
355353
);
356354
} else {
357355
registerOldGestureHandler(this.handlerTag, {

0 commit comments

Comments
 (0)