fix posting field checks

This commit is contained in:
Tom
2023-05-12 21:32:33 +02:00
parent b8db711648
commit 812f04b557
4 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ const Board = () => {
useEffect(() => {
if (publishCommentOptions.subject && triggerPublishComment) {
if (publishCommentOptions && triggerPublishComment) {
(async () => {
await publishComment();
resetFields();