File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/app/src/components/DependencyVisualizer/visualizers Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import type {
1212 Metric ,
1313} from "@napi/shared" ;
1414import { useTheme } from "../../../contexts/ThemeProvider.tsx" ;
15- import { Button } from "../../shadcn/Button.tsx" ;
1615
1716export default function ProjectVisualizer ( props : VisualizerContext ) {
1817 const navigate = useNavigate ( ) ;
@@ -120,8 +119,6 @@ export default function ProjectVisualizer(props: VisualizerContext) {
120119 }
121120 } , [ theme ] ) ;
122121
123- const [ sheetOpen , setSheetOpen ] = useState < boolean > ( false ) ;
124-
125122 return (
126123 < div className = "relative w-full h-full" >
127124 { /* This is the container for Cytoscape */ }
@@ -142,9 +139,6 @@ export default function ProjectVisualizer(props: VisualizerContext) {
142139 setMetric : handleMetricChange ,
143140 } }
144141 />
145- < Button variant = "secondary" onClick = { ( ) => setSheetOpen ( ! sheetOpen ) } >
146- { sheetOpen ? "Close" : "Open" }
147- </ Button >
148142 </ Controls >
149143 </ div >
150144
You can’t perform that action at this time.
0 commit comments