mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix classname
This commit is contained in:
parent
90934bca46
commit
b427743ab8
@ -1,5 +1,6 @@
|
||||
import React, {Component} from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import classnames from 'classnames'
|
||||
import AccountListItem from '../send_/account-list-item/account-list-item.component'
|
||||
|
||||
|
||||
@ -107,7 +108,9 @@ export default class ToAutoComplete extends Component {
|
||||
return (
|
||||
<div className={'send-v2__to-autocomplete'}>
|
||||
<input
|
||||
className={'send-v2__to-autocomplete__input' + (inError ? `send-v2__error-border` : '')}
|
||||
className={classnames('send-v2__to-autocomplete__input', {
|
||||
'send-v2__error-border': inError,
|
||||
})}
|
||||
placeholder={this.context.t('recipientAddress')}
|
||||
value={to}
|
||||
onChange={event => onChange(event.target.value)}
|
||||
|
Loading…
Reference in New Issue
Block a user