mirror of
https://github.com/apache/superset.git
synced 2026-06-01 21:59:26 +00:00
fix(DatabaseModal): Don't set activeKey to undefined repeatedly (#34636)
This commit is contained in:
committed by
GitHub
parent
1dc22a9002
commit
1af9c8dba2
@@ -120,7 +120,8 @@ const ExtraOptions = ({
|
||||
if (!expandableModalIsOpen && activeKey !== undefined) {
|
||||
setActiveKey(undefined);
|
||||
}
|
||||
}, [expandableModalIsOpen, activeKey]);
|
||||
// See issue #34630 for why we omit `activeKey` from the dependency array
|
||||
}, [expandableModalIsOpen]);
|
||||
|
||||
return (
|
||||
<Collapse
|
||||
|
||||
Reference in New Issue
Block a user