From 433c3f12f498688bfcb7645a3cbc3a498ac0bfcd Mon Sep 17 00:00:00 2001 From: Ethan Shafran Moltz Date: Thu, 27 Jun 2024 10:27:13 -0400 Subject: [PATCH] quick bug fixes --- src/components/DirectedGraph.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/DirectedGraph.tsx b/src/components/DirectedGraph.tsx index 7aa3bc0..f556a83 100644 --- a/src/components/DirectedGraph.tsx +++ b/src/components/DirectedGraph.tsx @@ -12,7 +12,6 @@ import ToggleTool from "@/components/ToggleTool"; // TODO make sure the node info is changed -type TODO = any interface DirectedGraphProps { graphData: GraphData; } @@ -28,7 +27,6 @@ export default function DirectedGraph({ graphData }: DirectedGraphProps) { const [edgesThreshold, setEdgesThreshold] = useState((graphData.maxEdgeCount ?? 100) * 0.1); const [previousEdgesThreshold, setPreviousEdgesThreshold] = useState(((graphData.maxEdgeCount ?? 100) * 0.1)); const initialContextMenuControls: ContextMenuControls = { visible: false, x: 0, y: 0, node: null }; - const [arrowSize, setArrowSize] = useState(30); const [contextMenu, setContextMenu] = useState(initialContextMenuControls);