visuddhinanda 2 лет назад
Родитель
Сommit
175746606c
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      dashboard/src/components/term/TermCommunity.tsx

+ 0 - 4
dashboard/src/components/term/TermCommunity.tsx

@@ -44,10 +44,8 @@ const TermCommunityWidget = ({ word }: IWidget) => {
     get<ITermListResponse>(url)
       .then((json) => {
         if (json.ok === false) {
-          console.log("dict community", json.message);
           return;
         }
-        console.log("count", json.data);
         let meaning = new Map<string, number>();
         let note = new Map<string, number>();
         let editorId = new Map<string, number>();
@@ -102,9 +100,7 @@ const TermCommunityWidget = ({ word }: IWidget) => {
         });
         _data.editor.sort((a, b) => b.score - a.score);
         setWordData(_data);
-        console.log("_data", _data);
         if (_data.editor.length > 0) {
-          console.log("show", _data.editor.length);
           setShow(true);
         }
       })