Browse Source

add await

yuken 3 years ago
parent
commit
774209f701
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/PageComment/CommentEditor.tsx

+ 1 - 1
packages/app/src/components/PageComment/CommentEditor.tsx

@@ -175,7 +175,7 @@ const CommentEditor = (props: PropsType): JSX.Element => {
             slackChannels,
             slackChannels,
           },
           },
         };
         };
-        postComment(postCommentArgs);
+        await postComment(postCommentArgs);
       }
       }
 
 
       initializeEditor();
       initializeEditor();