diff --git a/frontend/src/components/Toolbar/index.tsx b/frontend/src/components/Toolbar/index.tsx index 017f16f..97bff2a 100644 --- a/frontend/src/components/Toolbar/index.tsx +++ b/frontend/src/components/Toolbar/index.tsx @@ -1,10 +1,7 @@ import { useGraphStore } from "../../store/graphStore"; export function Toolbar() { - const { startCreatingNode, loading, refresh, setLayoutType, layoutType } = - useGraphStore(); - - const layouts = [{ type: "force" as const, label: "力导向", icon: "🕸️" }]; + const { startCreatingNode, loading, refresh } = useGraphStore(); return (