diff --git a/src/components/docs/DocForm.jsx b/src/components/docs/DocForm.jsx index 4f8ab5db..96f706c0 100644 --- a/src/components/docs/DocForm.jsx +++ b/src/components/docs/DocForm.jsx @@ -155,6 +155,8 @@ export default function DocForm({ editFile = null, newFile = true }) { }; const generateSubmitDescription = () => { + if (newFile) return null; + const latestVersion = editFile?.latestVersion || 1; const newVersion = handleVersionNumbering(editFile);