diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index 6214f0b7..695b7583 100755 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -463,11 +463,6 @@ const Board = () => { const handleSubmit = async (event) => { event.preventDefault(); - if (subjectRef.current.value === '') { - setNewErrorMessage('Subject field is mandatory'); - return; - } - setPublishCommentOptions((prevPublishCommentOptions) => ({ ...prevPublishCommentOptions, author: { diff --git a/src/components/views/Catalog.jsx b/src/components/views/Catalog.jsx index 38a5e617..0c49c6bf 100755 --- a/src/components/views/Catalog.jsx +++ b/src/components/views/Catalog.jsx @@ -1328,11 +1328,6 @@ const Catalog = () => { const handleSubmit = async (event) => { event.preventDefault(); - if (subjectRef.current.value === '') { - setNewErrorMessage('Subject field is mandatory'); - return; - } - setPublishCommentOptions((prevPublishCommentOptions) => ({ ...prevPublishCommentOptions, author: {