1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-13 20:08:56 +00:00

fix condition for applying bigger padding

This commit is contained in:
slowbackspace 2019-01-10 16:41:54 +01:00
parent 42764419b4
commit 73f8902da3

View File

@ -183,7 +183,7 @@ class Input extends PureComponent {
autoComplete="off"
height={this.props.height}
trezorAction={this.props.trezorAction}
hasIcon={this.getIcon(this.props.state).length > 0}
hasIcon={this.props.icon || this.getIcon(this.props.state).length > 0}
ref={this.props.innerRef}
hasAddon={!!this.props.sideAddons}
type={this.props.type}