diff --git a/wax-prosemirror-services/src/CommentsService/components/BoxList.js b/wax-prosemirror-services/src/CommentsService/components/BoxList.js index 5ce698876f309032e6d07cb7bd9a3e5422b7d6a5..d27eff1e2e48325c9d95601ab4d577f29e4843b4 100644 --- a/wax-prosemirror-services/src/CommentsService/components/BoxList.js +++ b/wax-prosemirror-services/src/CommentsService/components/BoxList.js @@ -19,8 +19,9 @@ export default ({ commentsTracks, view, position, recalculateTops, users }) => { } const top = position[index] ? position[index][id] : 0; - + console.log(commentTrack); if (commentTrack.data?.type === 'comment') { + console.log('in comment box list'); return ( <ConnectedComment comment={commentTrack} diff --git a/wax-prosemirror-services/src/CommentsService/components/ConnectedComment.js b/wax-prosemirror-services/src/CommentsService/components/ConnectedComment.js index 97d1b092981653102b90f114a22ea583e56f3d5a..62574db459f31bbd72c827577fbfa7cf7e22a5a2 100644 --- a/wax-prosemirror-services/src/CommentsService/components/ConnectedComment.js +++ b/wax-prosemirror-services/src/CommentsService/components/ConnectedComment.js @@ -32,10 +32,11 @@ export default ({ comment, top, commentId, recalculateTops, users }) => { }, app, activeView, - activeViewId, - options: { comments, commentsMap }, + options: { commentsMap }, } = context; + console.log('in connected comment'); + const [isActive, setIsActive] = useState(false); const [clickPost, setClickPost] = useState(false);