From 489cd2ccccb9cf96ad0897f65d41a06f6485e1ec Mon Sep 17 00:00:00 2001 From: Shahidullah Muffakir Date: Wed, 7 Feb 2024 15:55:10 +0530 Subject: [PATCH] removed unused code --- src/containers/Views/GraphView/index.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/containers/Views/GraphView/index.tsx b/src/containers/Views/GraphView/index.tsx index f5c27cd4475..d8771d39b1b 100644 --- a/src/containers/Views/GraphView/index.tsx +++ b/src/containers/Views/GraphView/index.tsx @@ -97,9 +97,6 @@ const GraphCanvas = ({ isWidget }: GraphProps) => { const direction = useGraph(state => state.direction); const nodes = useGraph(state => state.nodes); const edges = useGraph(state => state.edges); - const viewPort = useGraph(state => state.viewPort); - const setViewPort = useGraph(state => state.setViewPort); - const [paneWidth, setPaneWidth] = React.useState(2000); const [paneHeight, setPaneHeight] = React.useState(2000);