From 57c863d4cbfafc634009a702612994fc95c979a9 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Tue, 23 Apr 2024 12:03:00 +0300 Subject: [PATCH] cleanup --- .../src/CommentsService/components/RightArea.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wax-prosemirror-services/src/CommentsService/components/RightArea.js b/wax-prosemirror-services/src/CommentsService/components/RightArea.js index 6eb09f7a1..8db7affe2 100644 --- a/wax-prosemirror-services/src/CommentsService/components/RightArea.js +++ b/wax-prosemirror-services/src/CommentsService/components/RightArea.js @@ -5,7 +5,6 @@ import useDeepCompareEffect from 'use-deep-compare-effect'; import { each, uniqBy, sortBy, groupBy } from 'lodash'; import { WaxContext, DocumentHelpers } from 'wax-prosemirror-core'; import BoxList from './BoxList'; -import { CommentDecorationPluginKey } from '../plugins/CommentDecorationPlugin'; export default ({ area, users }) => { const context = useContext(WaxContext); @@ -14,7 +13,7 @@ export default ({ area, users }) => { pmViews: { main }, app, activeView, - options: { comments, commentsMap }, + options: { comments }, } = context; const commentPlugin = app.PmPlugins.get('commentPlugin'); -- GitLab