mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-31 11:13:02 +08:00
fix: always jump to bottom when scroll (#118)
* fix: error jump when scroll * fix: Cycle deps * deleted unused code
This commit is contained in:
@ -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 || [];
|
||||
|
Reference in New Issue
Block a user