fix keyextractor issue

This commit is contained in:
Nouman Tahir 2021-08-06 18:42:16 +05:00
parent d80cb69f22
commit 47bed81467

View File

@ -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 />}