From 4c2fa7e4eeb26c5bc893d0b117b2fb966bdcfead Mon Sep 17 00:00:00 2001 From: Fred Liu Date: Fri, 23 Sep 2016 10:16:35 -0700 Subject: [PATCH] Remove unused state variable Reviewed By: furdei Differential Revision: D3909633 fbshipit-source-id: 9e4376ce3eb3e49d0330a625b44fa62a96c9ba91 --- Libraries/Experimental/SwipeableRow/SwipeableListView.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/Libraries/Experimental/SwipeableRow/SwipeableListView.js b/Libraries/Experimental/SwipeableRow/SwipeableListView.js index 92b07a301..a4fec4524 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableListView.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableListView.js @@ -40,7 +40,6 @@ type Props = { type State = { dataSource: Object, - scrollEnabled: boolean, }; /** @@ -107,7 +106,6 @@ class SwipeableListView extends React.Component { this._shouldBounceFirstRowOnMount = this.props.bounceFirstRowOnMount; this.state = { dataSource: this.props.dataSource, - scrollEnabled: true, }; } @@ -129,7 +127,6 @@ class SwipeableListView extends React.Component { dataSource={this.state.dataSource.getDataSource()} onScroll={this._onScroll} renderRow={this._renderRow} - scrollEnabled={this.state.scrollEnabled} /> ); }