Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(channel): Last thread in channel not displaying replies (#844)

dev-rb0f8ec87e0c1f
diff --git a/js/app/packages/block-channel/component/MessageList/MessageList.tsx b/js/app/packages/block-channel/component/MessageList/MessageList.tsx
index 7af3faf63d..5732b11a16 100644
--- a/js/app/packages/block-channel/component/MessageList/MessageList.tsx
+++ b/js/app/packages/block-channel/component/MessageList/MessageList.tsx
@@ -795,6 +795,9 @@ function MessageListImpl(props: MessageListProps) {
isThreadIndexWithinCutoff()) &&
virtualHandle()
}
+ // For the last message in the channel, we display this
+ // empty small div. This is a temporary fix for last thread elements not rendering
+ fallback={i() === 0 ? <div class="h-[0.05px]" /> : null}
>
<MessageContainer
message={row.message}