chores: 清除冗余变量
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user