From 87b4fecc891d58a7eba1fe31d69594b572d5c16c Mon Sep 17 00:00:00 2001 From: Maxwell Ray Date: Thu, 21 Jan 2021 21:59:36 -0800 Subject: [PATCH] Got rid of componentWillUnmount --- Dial.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dial.js b/Dial.js index 417afe3..2f10906 100644 --- a/Dial.js +++ b/Dial.js @@ -28,9 +28,6 @@ export class Dial extends Component { } this.offset = { x: 0, y: 0 } this.updateState = throttle(this.updateState.bind(this), 16) - } - - componentWillMount () { this._panResponder = PanResponder.create({ onStartShouldSetPanResponder: (e, gestureState) => true, onStartShouldSetPanResponderCapture: (e, gestureState) => {