From 25965f0e875aa04ccec42a8baad8466fa48b110a Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Sun, 15 May 2022 20:50:42 +0300 Subject: [PATCH] remove console.log --- editors/demo/src/HHMI/HHMI.js | 2 +- .../src/MultipleDropDownService/components/DropDownComponent.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/editors/demo/src/HHMI/HHMI.js b/editors/demo/src/HHMI/HHMI.js index cc00d1390..e9f619292 100644 --- a/editors/demo/src/HHMI/HHMI.js +++ b/editors/demo/src/HHMI/HHMI.js @@ -55,7 +55,7 @@ const Hhmi = () => { value={aa} readonly={readOnly} layout={HhmiLayout} - onChange={source => console.log(source)} + // onChange={source => console.log(source)} /> </> ); diff --git a/wax-prosemirror-services/src/MultipleDropDownService/components/DropDownComponent.js b/wax-prosemirror-services/src/MultipleDropDownService/components/DropDownComponent.js index 4d37e4b31..622e9b40a 100644 --- a/wax-prosemirror-services/src/MultipleDropDownService/components/DropDownComponent.js +++ b/wax-prosemirror-services/src/MultipleDropDownService/components/DropDownComponent.js @@ -128,7 +128,6 @@ export default ({ setPosition, position }) => { useEffect(() => { if (addOptionRef.current) addOptionRef.current.focus(); if (!activeView.state.selection.node) return; - const { tr } = activeView.state; if (previousNode.from !== currentNode.from) { tr.setNodeMarkup(position.from, undefined, { -- GitLab