🚑 fix: re-fetch messages when exporting
This commit is contained in:
@@ -41,6 +41,7 @@ export default function useExportConversation({
|
||||
const dataTree = buildTree({ messages: data });
|
||||
return dataTree?.length === 0 ? null : dataTree ?? null;
|
||||
},
|
||||
refetchOnMount: true,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user