From 072a203b61232f3f911e01dba2280639b4f7ee99 Mon Sep 17 00:00:00 2001 From: Aleksei Kharitonov <91592026+AlexRixten@users.noreply.github.com> Date: Mon, 7 Sep 2026 13:22:00 +0200 Subject: [PATCH] chore: fix typos in web GestureHandler comments --- .../src/web/handlers/GestureHandler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native-gesture-handler/src/web/handlers/GestureHandler.ts b/packages/react-native-gesture-handler/src/web/handlers/GestureHandler.ts index 75cd59c47c..b4a55a93b6 100644 --- a/packages/react-native-gesture-handler/src/web/handlers/GestureHandler.ts +++ b/packages/react-native-gesture-handler/src/web/handlers/GestureHandler.ts @@ -221,7 +221,7 @@ export default abstract class GestureHandler implements IGestureHandler { public fail(sendIfDisabled?: boolean): void { if (this.state === State.ACTIVE || this.state === State.BEGAN) { // Here the order of calling the delegate and moveToState is important. - // At this point we can use currentState as previuos state, because immediately after changing cursor we call moveToState method. + // At this point we can use currentState as previous state, because immediately after changing cursor we call moveToState method. this.delegate.onFail(); this.moveToState(State.FAILED, sendIfDisabled); @@ -753,7 +753,7 @@ export default abstract class GestureHandler implements IGestureHandler { } protected transformNativeEvent(): Record { - // Those properties are shared by most handlers and if not this method will be overriden + // Those properties are shared by most handlers and if not this method will be overridden const lastCoords = this.tracker.getAbsoluteCoordsAverage(); const lastRelativeCoords = this.tracker.getRelativeCoordsAverage();