mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 19:01:38 +03:00
fixed keyExtractor issue from notifications list
This commit is contained in:
parent
f95d53dacd
commit
b913158270
@ -196,7 +196,7 @@ class NotificationView extends PureComponent {
|
||||
_notifications && _notifications.length > 0 ? (
|
||||
<SectionList
|
||||
sections={_notifications}
|
||||
keyExtractor={(item, index) => item.title + index}
|
||||
keyExtractor={(item, index) => `${item.id}-${index}`}
|
||||
onEndReached={() => getActivities(selectedFilter, true)}
|
||||
ListFooterComponent={this._renderFooterLoading}
|
||||
ListEmptyComponent={<ListPlaceHolder />}
|
||||
|
Loading…
Reference in New Issue
Block a user