visuddhinanda 3 лет назад
Родитель
Сommit
d2bd416281

+ 1 - 1
dashboard/src/components/article/AnthologyCard.tsx

@@ -5,7 +5,7 @@ import { Typography } from "antd";
 
 import StudioName from "../auth/StudioName";
 import type { IStudio } from "../auth/StudioName";
-import type { ListNodeData } from "../studio/EditableTree";
+import type { ListNodeData } from "./EditableTree";
 
 const { Title, Text } = Typography;
 

+ 0 - 0
dashboard/src/components/studio/EditableTree.tsx → dashboard/src/components/article/EditableTree.tsx


+ 1 - 1
dashboard/src/components/article/PaliTextToc.tsx

@@ -2,7 +2,7 @@ import { useState, useEffect } from "react";
 
 import { get } from "../../request";
 import { IPaliTocListResponse } from "../api/Corpus";
-import { ListNodeData } from "../studio/EditableTree";
+import { ListNodeData } from "./EditableTree";
 import TocTree from "./TocTree";
 
 interface IWidget {

+ 2 - 2
dashboard/src/pages/studio/anthology/edit.tsx

@@ -13,8 +13,8 @@ import {
   IAnthologyDataRequest,
   IAnthologyResponse,
 } from "../../../components/api/Article";
-import EditableTree from "../../../components/studio/EditableTree";
-import type { ListNodeData } from "../../../components/studio/EditableTree";
+import EditableTree from "../../../components/article/EditableTree";
+import type { ListNodeData } from "../../../components/article/EditableTree";
 import LangSelect from "../../../components/general/LangSelect";
 import PublicitySelect from "../../../components/studio/PublicitySelect";
 import GoBack from "../../../components/studio/GoBack";