From 545e6fe83014e66d317fd1cd2c24f9222dca7758 Mon Sep 17 00:00:00 2001 From: Javier Castro Date: Mon, 30 Mar 2020 10:41:02 -0300 Subject: [PATCH] Fix #437 TypeError: undefined is not an object, crashing on ios --- PinchZoomView.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/PinchZoomView.js b/PinchZoomView.js index 97a29fee..7db5c043 100644 --- a/PinchZoomView.js +++ b/PinchZoomView.js @@ -35,11 +35,6 @@ export default class PinchZoomView extends Component { super(props); this.state = {}; this.distant = 0; - - } - - componentDidMount() { - this.gestureHandlers = PanResponder.create({ onStartShouldSetPanResponder: this._handleStartShouldSetPanResponder, onMoveShouldSetResponderCapture: (evt, gestureState) => (true),