(schemaName: string)
| 187 | }; |
| 188 | |
| 189 | const handleSchemaNameSelect = async (schemaName: string) => { |
| 190 | // need to empty selectedTableNameList when schemaName changed. because selectedTableNameList may not exist in new schema. |
| 191 | conversationStore.updateSelectedTablesNameList([]); |
| 192 | conversationStore.updateSelectedSchemaName(schemaName); |
| 193 | }; |
| 194 | |
| 195 | return ( |
| 196 | <> |