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();