aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/screens/main/NotificationsScreen.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screens/main/NotificationsScreen.tsx b/src/screens/main/NotificationsScreen.tsx
index ebcccc8e..7592a565 100644
--- a/src/screens/main/NotificationsScreen.tsx
+++ b/src/screens/main/NotificationsScreen.tsx
@@ -290,7 +290,9 @@ const NotificationsScreen: React.FC = () => {
contentContainerStyle={styles.container}
stickySectionHeadersEnabled={false}
sections={sectionedNotifications}
- keyExtractor={(_item, index) => index.toString()}
+ keyExtractor={(item, index) =>
+ item.timestamp.toString() + index.toString()
+ }
renderItem={renderNotification}
renderSectionHeader={renderSectionHeader}
renderSectionFooter={renderSectionFooter}