Skip to content

Commit 9628bb6

Browse files
committed
Use in recordHandlerIfNotPresent
1 parent 5f0f1c9 commit 9628bb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-gesture-handler/src/web/tools/GestureHandlerOrchestrator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export default class GestureHandlerOrchestrator {
270270
}
271271

272272
public recordHandlerIfNotPresent(handler: IGestureHandler): void {
273-
if (this.gestureHandlers.includes(handler)) {
273+
if (this.isHandlerRecorded(handler)) {
274274
return;
275275
}
276276

0 commit comments

Comments
 (0)