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(channels): active call query suspense (#4785)
teo0f5889595f89
diff --git a/apps/web/src/features/channel/Channel/Channel.tsx b/apps/web/src/features/channel/Channel/Channel.tsxindex 225da674fe..7d92de94c2 100644--- a/apps/web/src/features/channel/Channel/Channel.tsx+++ b/apps/web/src/features/channel/Channel/Channel.tsx@@ -691,7 +691,9 @@ export function Channel(props: ChannelProps) {</Show></div></Show>- <ActiveCallMessage channelId={props.channelId} />+ <DebugSuspense name="Channel.active-call">+ <ActiveCallMessage channelId={props.channelId} />+ </DebugSuspense></div><DebugSuspense name="Channel.input"><FloatRegionOrInline region="accessory">diff --git a/apps/web/src/lib/queries/call/call.ts b/apps/web/src/lib/queries/call/call.tsindex 47bc269fc7..5df7027cc6 100644--- a/apps/web/src/lib/queries/call/call.ts+++ b/apps/web/src/lib/queries/call/call.ts@@ -12,6 +12,7 @@ export function useActiveCallQuery(channelId: Accessor<string>) {queryKey: callKeys.active(channelId()).queryKey,queryFn: async () =>await throwOnErr(() => callServiceClient.checkActiveCall(channelId())),+ placeholderData: null,refetchInterval: 15_000,}));}