mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
Make Button's children non required
This commit is contained in:
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…
Reference in New Issue
Block a user