diff --git a/superset-frontend/src/components/Button/index.tsx b/superset-frontend/src/components/Button/index.tsx index e306a7a8a831..22b04edbd007 100644 --- a/superset-frontend/src/components/Button/index.tsx +++ b/superset-frontend/src/components/Button/index.tsx @@ -104,10 +104,13 @@ export default function Button(props: ButtonProps) { {props.children} ); + const whittledProps = { ...buttonProps }; + delete whittledProps.dropdownItems; + if (dropdownItems) { button = (
- + {props.children}