diff --git a/src/components/button/button_content.tsx b/src/components/button/button_content.tsx index c6733888c..a4a5bb8a7 100644 --- a/src/components/button/button_content.tsx +++ b/src/components/button/button_content.tsx @@ -91,13 +91,12 @@ export const OuiButtonContent: FunctionComponent< ); } else if (iconType) { - const { title } = { ...textProps }; buttonIcon = ( );