Removed PullToRefresher init, needs optimization
• Removed: - PullToRefresher init, needs optimization
This commit is contained in:
parent
e84d7c957f
commit
d24b5a7b0e
@ -19,7 +19,10 @@ class PullToRefresher extends React.PureComponent {
|
||||
|
||||
componentDidMount() {
|
||||
this.handleDestroy()
|
||||
|
||||
|
||||
// : TODO : optimize
|
||||
return
|
||||
|
||||
if (this.props.isDisabled) return
|
||||
if (this.state.width > BREAKPOINT_EXTRA_SMALL) return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user