aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorTrejGun <trejgun@gmail.com>2018-07-05 11:21:27 +0800
committerTrejGun <trejgun@gmail.com>2018-07-05 11:21:27 +0800
commitb427743ab8bd1d721c717a2108c573e225c55a07 (patch)
tree17ed9d2239cf9a355d57d23cd0fb5c055c04fc37 /ui
parent90934bca46cf990554cbf9be9e302ab5e2fc8041 (diff)
downloadtangerine-wallet-browser-b427743ab8bd1d721c717a2108c573e225c55a07.tar
tangerine-wallet-browser-b427743ab8bd1d721c717a2108c573e225c55a07.tar.gz
tangerine-wallet-browser-b427743ab8bd1d721c717a2108c573e225c55a07.tar.bz2
tangerine-wallet-browser-b427743ab8bd1d721c717a2108c573e225c55a07.tar.lz
tangerine-wallet-browser-b427743ab8bd1d721c717a2108c573e225c55a07.tar.xz
tangerine-wallet-browser-b427743ab8bd1d721c717a2108c573e225c55a07.tar.zst
tangerine-wallet-browser-b427743ab8bd1d721c717a2108c573e225c55a07.zip
fix classname
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/send/to-autocomplete.component.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/send/to-autocomplete.component.js b/ui/app/components/send/to-autocomplete.component.js
index 86a3172c2..19f534b94 100644
--- a/ui/app/components/send/to-autocomplete.component.js
+++ b/ui/app/components/send/to-autocomplete.component.js
@@ -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)}