diff --git a/components/SwipeListView.js b/components/SwipeListView.js index 44de832..07dc767 100644 --- a/components/SwipeListView.js +++ b/components/SwipeListView.js @@ -376,7 +376,7 @@ class SwipeListView extends PureComponent { this.props.renderHiddenItem(rowData, rowMap); const { item, index } = rowData; let { key } = item; - if (!key && this.props.keyExtractor) { + if (this.props.keyExtractor) { key = this.props.keyExtractor(item, index); }