diff options
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThread.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index 523a63eb1..22438fc79 100644 --- a/src/view/com/post-thread/PostThread.tsx +++ b/src/view/com/post-thread/PostThread.tsx @@ -280,6 +280,9 @@ function PostThreadLoaded({ const prev = isThreadPost(posts[index - 1]) ? (posts[index - 1] as ThreadPost) : undefined + const next = isThreadPost(posts[index - 1]) + ? (posts[index - 1] as ThreadPost) + : undefined return ( <View ref={item.ctx.isHighlightedPost ? highlightedPostRef : undefined}> @@ -288,6 +291,8 @@ function PostThreadLoaded({ record={item.record} treeView={threadViewPrefs.lab_treeViewEnabled || false} depth={item.ctx.depth} + prevPost={prev} + nextPost={next} isHighlightedPost={item.ctx.isHighlightedPost} hasMore={item.ctx.hasMore} showChildReplyLine={item.ctx.showChildReplyLine} |