diff --git a/src/common/Button/Button.js b/src/common/Button/Button.js index 04e2f47b3..a643cb35f 100644 --- a/src/common/Button/Button.js +++ b/src/common/Button/Button.js @@ -27,7 +27,7 @@ const Button = React.forwardRef(({ children, ...props }, ref) => { } }, [props.onMouseDown]); return React.createElement( - typeof props.href === 'string' ? 'a' : 'div', + typeof props.href === 'string' && props.href.length > 0 ? 'a' : 'div', { ...props, ref,