Browse Source

:fire: console.log("pub words", sentId, pubWords);

visuddhinanda 2 years ago
parent
commit
0d6c2f5c75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dashboard/src/components/template/WbwSent.tsx

+ 1 - 1
dashboard/src/components/template/WbwSent.tsx

@@ -149,7 +149,6 @@ export const WbwSentCtl = ({
     words.forEach((value, key) => pubWords.push(key));
 
     const sentId = `${book}-${para}-${wordStart}-${wordEnd}`;
-    console.log("pub words", sentId, pubWords);
     store.dispatch(add({ sentId: sentId, words: pubWords }));
   }, [book, para, wordData, wordEnd, wordStart]);
 
@@ -543,6 +542,7 @@ export const WbwSentCtl = ({
         })
       ) : (
         <Tree
+          selectable={false}
           treeData={wordData
             .filter((value) => value.sn.length === 1)
             .map((item, id) => {