Ver Fonte

:fire: log

visuddhinanda há 2 anos atrás
pai
commit
175746606c
1 ficheiros alterados com 0 adições e 4 exclusões
  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);
         }
       })