visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
89a5ec8055
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      dashboard/src/components/corpus/PaliChapterListByTag.tsx

+ 1 - 2
dashboard/src/components/corpus/PaliChapterListByTag.tsx

@@ -14,13 +14,12 @@ const PaliChapterListByTagWidget = ({ tag = [], onChapterClick }: IWidget) => {
   const [tableData, setTableData] = useState<IPaliChapterData[]>([]);
   const [tableData, setTableData] = useState<IPaliChapterData[]>([]);
 
 
   useEffect(() => {
   useEffect(() => {
-    console.log("palichapterlist useEffect");
     if (tag.length === 0) {
     if (tag.length === 0) {
       setTableData([]);
       setTableData([]);
       return;
       return;
     }
     }
     let url = `/v2/palitext?view=chapter&tags=${tag.join()}`;
     let url = `/v2/palitext?view=chapter&tags=${tag.join()}`;
-    console.log("tag url", url);
+    console.log("url", url);
     get<IPaliChapterListResponse>(url).then((json) => {
     get<IPaliChapterListResponse>(url).then((json) => {
       if (json.ok) {
       if (json.ok) {
         let newTree: IPaliChapterData[] = json.data.rows.map((item) => {
         let newTree: IPaliChapterData[] = json.data.rows.map((item) => {