mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Remove unused state variable
Reviewed By: furdei Differential Revision: D3909633 fbshipit-source-id: 9e4376ce3eb3e49d0330a625b44fa62a96c9ba91
This commit is contained in:
parent
db06fc6814
commit
4c2fa7e4ee
@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user