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
chore(channel): remove placeholderData from channel messages query (#4351)
gbirman730ee5706839
diff --git a/js/app/packages/queries/channel/channel-messages.ts b/js/app/packages/queries/channel/channel-messages.tsindex efedbf29a8..d9a0a4d25b 100644--- a/js/app/packages/queries/channel/channel-messages.ts+++ b/js/app/packages/queries/channel/channel-messages.ts@@ -84,11 +84,6 @@ export function channelMessagesQueryOptions();return normalizeChannelMessagesPageSenders(page);},- placeholderData: (- prev: ChannelMessagesData | undefined,- prevQuery: { queryKey: ChannelMessagesQueryKey } | undefined- ): ChannelMessagesData | undefined =>- prevQuery?.queryKey.includes(channelId) ? prev : undefined,initialPageParam: null as ChannelMessagesPageParam | null,getNextPageParam: (lastPage: ChannelMessagesPage) =>lastPage.next_cursor