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 = {
|
Button.propTypes = {
|
||||||
children: PropTypes.node.isRequired,
|
children: PropTypes.node,
|
||||||
className: PropTypes.string,
|
className: PropTypes.string,
|
||||||
onClick: PropTypes.func,
|
onClick: PropTypes.func,
|
||||||
onMouseEnter: PropTypes.func,
|
onMouseEnter: PropTypes.func,
|
||||||
|
@ -158,8 +158,7 @@ const AccountReceive = (props: Props) => {
|
|||||||
type: addressUnverified ? ICONS.EYE_CROSSED : ICONS.EYE,
|
type: addressUnverified ? ICONS.EYE_CROSSED : ICONS.EYE,
|
||||||
color: addressUnverified ? colors.ERROR_PRIMARY : colors.TEXT_PRIMARY,
|
color: addressUnverified ? colors.ERROR_PRIMARY : colors.TEXT_PRIMARY,
|
||||||
}}
|
}}
|
||||||
>""
|
/>
|
||||||
</EyeButton>
|
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
)}
|
)}
|
||||||
<ValueWrapper
|
<ValueWrapper
|
||||||
|
Loading…
Reference in New Issue
Block a user