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(channels): fix suspense boundry for thread replies (#2456)

teo3f136e2ddfbe
diff --git a/js/app/packages/channel/Thread/ChannelThread.tsx b/js/app/packages/channel/Thread/ChannelThread.tsx
index 3b5377daa4..9a789de9a0 100644
--- a/js/app/packages/channel/Thread/ChannelThread.tsx
+++ b/js/app/packages/channel/Thread/ChannelThread.tsx
@@ -207,18 +207,20 @@ export function ChannelThread(props: ThreadProps) {
</DebugSuspense>
<DebugSuspense name="ChannelThread.replies">
<Thread.RepliesContainer>
- <Thread.ReplyList
- channelId={props.channelId()}
- threadId={props.data().id}
- replies={displayReplies()}
- getMessageActions={props.getMessageActions}
- messageEditor={props.messageEditor}
- isNewMessage={props.isNewMessage}
- highlightedReplyId={props.highlightedReplyId}
- onReady={setReplyListHandle}
- selectedReplyId={replySelection.selectedId}
- isThreadFocused={isThreadFocused}
- />
+ <DebugSuspense name="ChannelThread.ReplyList">
+ <Thread.ReplyList
+ channelId={props.channelId()}
+ threadId={props.data().id}
+ replies={displayReplies()}
+ getMessageActions={props.getMessageActions}
+ messageEditor={props.messageEditor}
+ isNewMessage={props.isNewMessage}
+ highlightedReplyId={props.highlightedReplyId}
+ onReady={setReplyListHandle}
+ selectedReplyId={replySelection.selectedId}
+ isThreadFocused={isThreadFocused}
+ />
+ </DebugSuspense>
<Show when={props.isReplying()}>
<div