Fix frontend imports and track frontend lib files
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
"use client";
|
||||
"use client";
|
||||
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||
import ReactFlow, { Background, Controls, MiniMap, type ReactFlowInstance } from "reactflow";
|
||||
import "reactflow/dist/style.css";
|
||||
import MindmapNodeCard from "@/components/MindmapNodeCard";
|
||||
import { treeToGraph } from "@/lib/treeToGraph";
|
||||
import type { MindmapNode } from "@/types/mindmap";
|
||||
import MindmapNodeCard from "./MindmapNodeCard";
|
||||
import { treeToGraph } from "../lib/treeToGraph";
|
||||
import type { MindmapNode } from "../types/mindmap";
|
||||
|
||||
type MindmapCanvasProps = {
|
||||
tree: MindmapNode;
|
||||
|
||||
Reference in New Issue
Block a user