We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 150e6de commit a169f0fCopy full SHA for a169f0f
index.js
@@ -60,9 +60,7 @@ var ScrollableTabView = React.createClass({
60
if ((gestureState.moveX <= this.props.edgeHitWidth ||
61
gestureState.moveX >= deviceWidth - this.props.edgeHitWidth) &&
62
this.props.locked !== true) {
63
- if(this.props.hasTouch){
64
- this.props.hasTouch(true);
65
- }
+ this.props.hasTouch && this.props.hasTouch(true);
66
67
return true;
68
}
0 commit comments