Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(soup): fix sender reactivity on mobile inbox layout (#3583)
Seamus02e2188960ee
diff --git a/js/app/packages/entity/src/composed/list-entity/narrow-inbox-layout.tsx b/js/app/packages/entity/src/composed/list-entity/narrow-inbox-layout.tsxindex 101d3744d4..32eb530bdb 100644--- a/js/app/packages/entity/src/composed/list-entity/narrow-inbox-layout.tsx+++ b/js/app/packages/entity/src/composed/list-entity/narrow-inbox-layout.tsx@@ -33,7 +33,7 @@ export function NarrowInboxLayout(props: LayoutProps) {isChannelEntity(props.entity) &&props.entity.channelType === 'direct_message';- const mostRecentMessageSenderName =+ const mostRecentMessageSenderName = () =>isChannelEntity(props.entity) && props.entity.latestMessage?.senderId? useDisplayNameParts(tryMacroId(props.entity.latestMessage?.senderId)): undefined;@@ -140,7 +140,7 @@ export function NarrowInboxLayout(props: LayoutProps) {{(msg) => (<ChannelLatestMessageNarrowBodymessage={msg()}- senderFirstName={mostRecentMessageSenderName?.firstName()}+ senderFirstName={mostRecentMessageSenderName()?.firstName()}/>)}</Match>