Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

fix: remove unnecessary import (#791)

Guy Ben-Aharon87836e53d145
diff --git a/src/pages/editor-page/canvas/canvas.tsx b/src/pages/editor-page/canvas/canvas.tsx
index 8ec81a02..a6e4e7ff 100644
--- a/src/pages/editor-page/canvas/canvas.tsx
+++ b/src/pages/editor-page/canvas/canvas.tsx
@@ -183,7 +183,6 @@ export const Canvas: React.FC<CanvasProps> = ({ initialTables }) => {
updateArea,
highlightedCustomType,
highlightCustomTypeId,
- getCustomType,
hiddenTableIds,
} = useChartDB();
const { showSidePanel } = useLayout();
@@ -433,7 +432,6 @@ export const Canvas: React.FC<CanvasProps> = ({ initialTables }) => {
overlapGraph.graph,
highlightOverlappingTables,
highlightedCustomType,
- getCustomType,
]);
const prevFilteredSchemas = useRef<string[] | undefined>(undefined);