mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-04 09:38:50 +01:00
🚑 fix: re-fetch messages when exporting
This commit is contained in:
parent
f0e8cca5df
commit
693b86e955
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ export default function useExportConversation({
|
|||
const dataTree = buildTree({ messages: data });
|
||||
return dataTree?.length === 0 ? null : dataTree ?? null;
|
||||
},
|
||||
refetchOnMount: true,
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue