diff --git a/client/src/hooks/Conversations/useExportConversation.ts b/client/src/hooks/Conversations/useExportConversation.ts index 5c9750e4da..bb95f3b33b 100644 --- a/client/src/hooks/Conversations/useExportConversation.ts +++ b/client/src/hooks/Conversations/useExportConversation.ts @@ -41,6 +41,7 @@ export default function useExportConversation({ const dataTree = buildTree({ messages: data }); return dataTree?.length === 0 ? null : dataTree ?? null; }, + refetchOnMount: true, }, );