about summary refs log tree commit diff
path: root/src/screens/VideoFeed/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/VideoFeed/index.tsx')
-rw-r--r--src/screens/VideoFeed/index.tsx11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/screens/VideoFeed/index.tsx b/src/screens/VideoFeed/index.tsx
index b8403b737..3f89ed927 100644
--- a/src/screens/VideoFeed/index.tsx
+++ b/src/screens/VideoFeed/index.tsx
@@ -206,11 +206,14 @@ function Feed() {
             feedContext: string | undefined
           }[] = []
           for (const slice of page.slices) {
-            for (const i of slice.items) {
+            const feedPost = slice.items.find(
+              item => item.uri === slice.feedPostUri,
+            )
+            if (feedPost) {
               items.push({
-                _reactKey: i._reactKey,
-                moderation: i.moderation,
-                post: i.post,
+                _reactKey: feedPost._reactKey,
+                moderation: feedPost.moderation,
+                post: feedPost.post,
                 feedContext: slice.feedContext,
               })
             }