Skip to content

Commit 8256166

Browse files
author
florian
committed
remove some stuff used for testing
1 parent 2415afd commit 8256166

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/app/src/components/DependencyVisualizer/visualizers/ProjectVisualizer.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import type {
1212
Metric,
1313
} from "@napi/shared";
1414
import { useTheme } from "../../../contexts/ThemeProvider.tsx";
15-
import { Button } from "../../shadcn/Button.tsx";
1615

1716
export 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

0 commit comments

Comments
 (0)