From e9e1166a20583100e84d57ff7f3d1a73c8af5c77 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Tue, 23 Apr 2024 14:48:29 +0300 Subject: [PATCH] more console logs --- .../src/CommentsService/components/BoxList.js | 3 ++- .../src/CommentsService/components/ConnectedComment.js | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wax-prosemirror-services/src/CommentsService/components/BoxList.js b/wax-prosemirror-services/src/CommentsService/components/BoxList.js index 5ce698876..d27eff1e2 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 97d1b0929..62574db45 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); -- GitLab