diff --git a/react/lib/components/Button/Button.tsx b/react/lib/components/Button/Button.tsx index 52a85d5b..0ecce2fc 100644 --- a/react/lib/components/Button/Button.tsx +++ b/react/lib/components/Button/Button.tsx @@ -129,7 +129,8 @@ export const Button = (props: ButtonProps): React.ReactElement => { onMouseLeave={handleMouseLeave} ref={buttonRef} > - {transitioning !== hovering ? hoverText : text} + {transitioning !== hovering ? hoverText : (text && text.trim() !== "" ? text :
 
)} +
);