Skip to content

Commit

Permalink
Minor change in DocForm (testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavberi committed Dec 20, 2024
1 parent f882ad1 commit 6544ec2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/docs/DocForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6544ec2

Please sign in to comment.