Skip to content
Snippets Groups Projects
Commit 6183a36b authored by chris's avatar chris
Browse files

remove console.log

parent 455511f0
No related branches found
No related tags found
1 merge request!396add inputs
...@@ -55,7 +55,7 @@ const Hhmi = () => { ...@@ -55,7 +55,7 @@ const Hhmi = () => {
value={aa} value={aa}
readonly={readOnly} readonly={readOnly}
layout={HhmiLayout} layout={HhmiLayout}
onChange={source => console.log(source)} // onChange={source => console.log(source)}
/> />
</> </>
); );
......
...@@ -126,6 +126,7 @@ export default ({ setPosition, position }) => { ...@@ -126,6 +126,7 @@ export default ({ setPosition, position }) => {
useEffect(() => { useEffect(() => {
if (addOptionRef.current) addOptionRef.current.focus(); if (addOptionRef.current) addOptionRef.current.focus();
const allNodes = getNodes(main); const allNodes = getNodes(main);
if (!activeView.state.selection.node) return; if (!activeView.state.selection.node) return;
allNodes.forEach(singleNode => { allNodes.forEach(singleNode => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment