fix: always jump to bottom when scroll (#118)

* fix: error jump when scroll

* fix: Cycle deps

* deleted unused code
This commit is contained in:
CorrectRoadH
2023-06-01 16:21:23 +08:00
committed by GitHub
parent 07b37b65b1
commit 6a8e06ad24

View File

@ -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 || [];