Revert "fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21141)" (#21174)

This commit is contained in:
JUST.in DO IT 2022-08-23 22:26:05 -07:00 committed by GitHub
parent ed6212a1f9
commit 53de94c047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,6 +292,7 @@ const TableSelector: FunctionComponent<TableSelectorProps> = ({
function renderDatabaseSelector() {
return (
<DatabaseSelector
key={currentDatabase?.id}
db={currentDatabase}
emptyState={emptyState}
formMode={formMode}