From 710888dcfeab27507df36f439b9c0ac33dfc3d63 Mon Sep 17 00:00:00 2001 From: wonder Date: Fri, 17 Apr 2026 15:03:02 +0800 Subject: [PATCH] =?UTF-8?q?chores:=20=E6=B8=85=E9=99=A4=E5=86=97=E4=BD=99?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Toolbar/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 (