Skip to content

Commit a169f0f

Browse files
committed
Style fix
1 parent 150e6de commit a169f0f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ var ScrollableTabView = React.createClass({
6060
if ((gestureState.moveX <= this.props.edgeHitWidth ||
6161
gestureState.moveX >= deviceWidth - this.props.edgeHitWidth) &&
6262
this.props.locked !== true) {
63-
if(this.props.hasTouch){
64-
this.props.hasTouch(true);
65-
}
63+
this.props.hasTouch && this.props.hasTouch(true);
6664

6765
return true;
6866
}

0 commit comments

Comments
 (0)