Remove unused state variable

Reviewed By: furdei

Differential Revision: D3909633

fbshipit-source-id: 9e4376ce3eb3e49d0330a625b44fa62a96c9ba91
This commit is contained in:
Fred Liu 2016-09-23 10:16:35 -07:00 committed by Facebook Github Bot 9
parent db06fc6814
commit 4c2fa7e4ee
1 changed files with 0 additions and 3 deletions

View File

@ -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}
/>
);
}