diff --git a/packages/console/src/ds-components/Button/index.tsx b/packages/console/src/ds-components/Button/index.tsx index 5d7949090..4993b2720 100644 --- a/packages/console/src/ds-components/Button/index.tsx +++ b/packages/console/src/ds-components/Button/index.tsx @@ -95,14 +95,7 @@ function Button( > {showSpinner && } {icon && {icon}} - {title && - (typeof title === 'string' ? ( - - - - ) : ( - title - ))} + {title && {typeof title === 'string' ? : title}} {trailingIcon && {trailingIcon}} );