소스 검색

:fire: log

visuddhinanda 3 년 전
부모
커밋
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)
     get<ITermListResponse>(url)
       .then((json) => {
       .then((json) => {
         if (json.ok === false) {
         if (json.ok === false) {
-          console.log("dict community", json.message);
           return;
           return;
         }
         }
-        console.log("count", json.data);
         let meaning = new Map<string, number>();
         let meaning = new Map<string, number>();
         let note = new Map<string, number>();
         let note = new Map<string, number>();
         let editorId = 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);
         _data.editor.sort((a, b) => b.score - a.score);
         setWordData(_data);
         setWordData(_data);
-        console.log("_data", _data);
         if (_data.editor.length > 0) {
         if (_data.editor.length > 0) {
-          console.log("show", _data.editor.length);
           setShow(true);
           setShow(true);
         }
         }
       })
       })