Skip to content

Commit

Permalink
Merge pull request #1405 from gchq/BAI-1119-resetting-error-message-w…
Browse files Browse the repository at this point in the history
…hen-resubmitting-a-release

Reset error message when pressing cancel button in edit release
  • Loading branch information
IR96334 authored Jul 16, 2024
2 parents bd0bc8e + fe7d17b commit 44721c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/entry/model/releases/EditableRelease.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export default function EditableRelease({
}

const handleCancel = () => {
setErrorMessage('')
resetForm()
onIsEditChange(false)
}
Expand Down

0 comments on commit 44721c2

Please sign in to comment.