diff --git a/client/src/components/Nav/ExportConversation/ExportModal.tsx b/client/src/components/Nav/ExportConversation/ExportModal.tsx index 85a1f9be3c..642b5bbc81 100644 --- a/client/src/components/Nav/ExportConversation/ExportModal.tsx +++ b/client/src/components/Nav/ExportConversation/ExportModal.tsx @@ -72,7 +72,7 @@ export default function ExportModal({ const { exportConversation } = useExportConversation({ conversation, - filename, + filename: filenamify(filename), type, includeOptions, exportBranches, @@ -95,7 +95,7 @@ export default function ExportModal({ setFileName(filenamify(e.target.value || ''))} + onChange={(e) => setFileName(e.target.value || '')} placeholder={localize('com_nav_export_filename_placeholder')} />