From 18a09982300a893eb87135a01419d786b5df0382 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Sat, 18 Jan 2025 18:18:28 -0600 Subject: [PATCH] Fix key issue --- src/screens/VideoFeed/index.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/screens/VideoFeed/index.tsx b/src/screens/VideoFeed/index.tsx index 0a349b7d46..e87924dd7d 100644 --- a/src/screens/VideoFeed/index.tsx +++ b/src/screens/VideoFeed/index.tsx @@ -193,10 +193,16 @@ function Feed() { let vids = data?.pages .map(page => { - const items = [] + const items: { + _reactKey: string + moderation: ModerationDecision + post: AppBskyFeedDefs.PostView + feedContext: string | undefined + }[] = [] for (const slice of page.slices) { for (const i of slice.items) { items.push({ + _reactKey: i._reactKey, moderation: i.moderation, post: i.post, feedContext: slice.feedContext,