diff --git a/src/components/ConnectionSidebar.tsx b/src/components/ConnectionSidebar.tsx index b538fa0..cdb045c 100644 --- a/src/components/ConnectionSidebar.tsx +++ b/src/components/ConnectionSidebar.tsx @@ -111,7 +111,7 @@ const ConnectionSidebar = () => { } else { conversationStore.updateSelectedSchemaName(""); } - }, [connectionStore, hasSchemaProperty, currentConnectionCtx, schemaList]); + }, [connectionStore, hasSchemaProperty, currentConnectionCtx]); useEffect(() => { const tableList = schemaList.find((schema) => schema.name === selectedSchemaName)?.tables || [];