Skip to content

Commit d3bd9da

Browse files
committed
chore: Legibility improvement
1 parent 810f330 commit d3bd9da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/SwipeListView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class SwipeListView extends PureComponent {
167167
onRowPress: () => this.onRowPress(),
168168
setScrollEnabled: enable => this.setScrollEnabled(enable),
169169
swipeGestureBegan: () => this.rowSwipeGestureBegan(key),
170-
swipeGestureEnded: (swipeKey, data) =>
170+
swipeGestureEnded: (_, data) =>
171171
this.rowSwipeGestureEnded(key, data),
172172
});
173173
} else {
@@ -184,7 +184,7 @@ class SwipeListView extends PureComponent {
184184
}
185185
ref={row => (this._rows[key] = row)}
186186
swipeGestureBegan={() => this.rowSwipeGestureBegan(key)}
187-
swipeGestureEnded={(swipeKey, data) =>
187+
swipeGestureEnded={(_, data) =>
188188
this.rowSwipeGestureEnded(key, data)
189189
}
190190
onRowOpen={toValue => this.onRowOpen(key, toValue)}

0 commit comments

Comments
 (0)