You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2022/08/22 13:18:23 UTC

[superset] 34/36: fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21141)

This is an automated email from the ASF dual-hosted git repository.

diegopucci pushed a commit to branch chore/drill-to-detail-modal-tests
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 43c3b9426154df84b01b66f9cfb30a266b8fd510
Author: JUST.in DO IT <ju...@airbnb.com>
AuthorDate: Mon Aug 22 00:43:42 2022 -0700

    fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21141)
---
 superset-frontend/src/components/TableSelector/index.tsx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/superset-frontend/src/components/TableSelector/index.tsx b/superset-frontend/src/components/TableSelector/index.tsx
index 4c07e256cc..6b6a279583 100644
--- a/superset-frontend/src/components/TableSelector/index.tsx
+++ b/superset-frontend/src/components/TableSelector/index.tsx
@@ -291,7 +291,6 @@ const TableSelector: FunctionComponent<TableSelectorProps> = ({
   function renderDatabaseSelector() {
     return (
       <DatabaseSelector
-        key={currentDatabase?.id}
         db={currentDatabase}
         emptyState={emptyState}
         formMode={formMode}