diff --git a/pkg/interface/src/views/landscape/components/Home/Post/PostFlatFeed.tsx b/pkg/interface/src/views/landscape/components/Home/Post/PostFlatFeed.tsx index 8ff1febfce..1358938754 100644 --- a/pkg/interface/src/views/landscape/components/Home/Post/PostFlatFeed.tsx +++ b/pkg/interface/src/views/landscape/components/Home/Post/PostFlatFeed.tsx @@ -64,7 +64,9 @@ class PostFlatFeed extends React.Component { } const first = flatGraph.peekLargest()?.[0]; + const last = flatGraph.peekSmallest()?.[0]; const post = node?.post; + const isLast = last ? indexEqual(index, last) : false; if (indexEqual(index, (first ?? [bigInt.zero]))) { if (isThread) { @@ -88,7 +90,7 @@ class PostFlatFeed extends React.Component { isRelativeTime={true} vip={vip} group={group} - isThread={isThread} + isThread={isThread && !isLast} /> ); @@ -148,7 +150,7 @@ class PostFlatFeed extends React.Component { isRelativeTime={true} vip={vip} group={group} - isThread={isThread} + isThread={isThread && !isLast} /> );