Removed PullToRefresher init, needs optimization

• Removed:
- PullToRefresher init, needs optimization
This commit is contained in:
mgabdev 2020-11-09 01:47:29 -06:00
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