useEffect(() => {
    if (!newCommentSubscription.loading && !newCommentSubscription.error) {
      const newComment: Comment = newCommentSubscription.data.newComment
      if (newComment) {
        dispatch({