Skip to content

Commit 08231c6

Browse files
committed
Improve not good lines
1 parent ce14c1c commit 08231c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ const ScrollableTabView = React.createClass({
152152
const offsetX = e.nativeEvent.contentOffset.x;
153153
this._updateScrollValue(offsetX / this.state.containerWidth);
154154
}}
155-
onMomentumScrollBegin={ (e) => { this._onMomentumScrollBeginAndEnd(e) }}
156-
onMomentumScrollEnd={ (e) => { this._onMomentumScrollBeginAndEnd(e) }}
155+
onMomentumScrollBegin={this._onMomentumScrollBeginAndEnd}
156+
onMomentumScrollEnd={this._onMomentumScrollBeginAndEnd}
157157
scrollEventThrottle={16}
158158
scrollsToTop={false}
159159
showsHorizontalScrollIndicator={false}

0 commit comments

Comments
 (0)