Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(desktop): drop the empty band under the activity feed (#104305)

Shy Alter6202e3843e48
diff --git a/products/desktop/packages/ui/src/features/canvas/components/ActivityFeedList.tsx b/products/desktop/packages/ui/src/features/canvas/components/ActivityFeedList.tsx
index 92752d03fa0d..af99bc129a03 100644
--- a/products/desktop/packages/ui/src/features/canvas/components/ActivityFeedList.tsx
+++ b/products/desktop/packages/ui/src/features/canvas/components/ActivityFeedList.tsx
@@ -280,11 +280,11 @@ export function ActivityFeedList({
))}
</div>
)}
- <div ref={loadMoreRef} className="flex h-8 justify-center py-2">
- {mentionsIncluded &&
- taskActivity.hasNextPage &&
- taskActivity.isFetchingNextPage && <Spinner />}
- </div>
+ {mentionsIncluded && taskActivity.hasNextPage && (
+ <div ref={loadMoreRef} className="flex h-8 justify-center py-2">
+ {taskActivity.isFetchingNextPage && <Spinner />}
+ </div>
+ )}
</AutocompleteList>
</div>
</Autocomplete>