aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-08 17:17:11 -0400
committerIvan Chen <ivan@tagg.id>2021-06-08 17:17:11 -0400
commit6070fae504921259a24af78952af36d3c9643022 (patch)
treeb59387c1fb0ca2649327b2fc49bba11a85410a33 /src/screens
parent6837eac533bdf39013bde22ab8df2eb687a06a2e (diff)
Remove CommentCount, Add new comments component
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/profile/IndividualMoment.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx
index 5ac8aeab..447ba2a9 100644
--- a/src/screens/profile/IndividualMoment.tsx
+++ b/src/screens/profile/IndividualMoment.tsx
@@ -55,7 +55,7 @@ const IndividualMoment: React.FC<IndividualMomentProps> = ({
renderItem={({item}: {item: MomentPostType}) => (
<MomentPost moment={item} userXId={userXId} screenType={screenType} />
)}
- keyExtractor={(_, index) => index.toString()}
+ keyExtractor={(item, _) => item.moment_id}
showsVerticalScrollIndicator={false}
initialScrollIndex={initialIndex}
/>