chores: 清除冗余变量

This commit is contained in:
2026-04-17 15:03:02 +08:00
parent 66081048f9
commit 710888dcfe
+1 -4
View File
@@ -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 (
<div className="bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 px-4 py-2 flex items-center gap-2">