Make Button's children non required

pull/9/head
Vasek Mlejnsky 6 years ago
parent a865abe319
commit 97eb972ca0

@ -158,7 +158,7 @@ const Button = ({
);
Button.propTypes = {
children: PropTypes.node.isRequired,
children: PropTypes.node,
className: PropTypes.string,
onClick: PropTypes.func,
onMouseEnter: PropTypes.func,

@ -158,8 +158,7 @@ const AccountReceive = (props: Props) => {
type: addressUnverified ? ICONS.EYE_CROSSED : ICONS.EYE,
color: addressUnverified ? colors.ERROR_PRIMARY : colors.TEXT_PRIMARY,
}}
>""
</EyeButton>
/>
</Tooltip>
)}
<ValueWrapper

Loading…
Cancel
Save