diff --git a/app/src/pages/Editor/ExportDocumentDialog.tsx b/app/src/pages/Editor/ExportDocumentDialog.tsx index 4afc0fc2..60cc3482 100644 --- a/app/src/pages/Editor/ExportDocumentDialog.tsx +++ b/app/src/pages/Editor/ExportDocumentDialog.tsx @@ -136,6 +136,7 @@ export function ExportDocumentDialog(): JSX.Element { setFormState((state) => { return { ...state, + ...selected, path: switchExtension(state.path, selected.defaultExtension), }; });