Browse Source

:fire: mermaid

visuddhinanda 1 year ago
parent
commit
c32d417487
1 changed files with 3 additions and 4 deletions
  1. 3 4
      dashboard-v4/dashboard/src/components/task/TaskRelation.tsx

+ 3 - 4
dashboard-v4/dashboard/src/components/task/TaskRelation.tsx

@@ -1,11 +1,9 @@
 import { Collapse } from "antd";
 import { IProject, ITaskData } from "../api/task";
-
-import "../article/article.css";
-
-import Mermaid from "../general/Mermaid";
 import TaskFlowchart from "./TaskFlowchart";
+
 const { Panel } = Collapse;
+
 interface IWidget {
   projectId?: string;
   tasks?: ITaskData[];
@@ -19,6 +17,7 @@ const TaskRelation = ({ tasks }: IWidget) => {
   projects.forEach((value: IProject, key: string) => {
     flowcharts.push(value);
   });
+
   return (
     <Collapse
       defaultActiveKey={Array.from({ length: flowcharts.length }, (_, i) => i)}