aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/to-autocomplete.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/send/to-autocomplete.js')
-rw-r--r--ui/app/components/send/to-autocomplete.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/send/to-autocomplete.js b/ui/app/components/send/to-autocomplete.js
index 72074229e..ca034d855 100644
--- a/ui/app/components/send/to-autocomplete.js
+++ b/ui/app/components/send/to-autocomplete.js
@@ -2,7 +2,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const AccountListItem = require('./account-list-item')
-const t = require('../../../i18n')
+const t = require('../../../i18n-helper').getMessage
module.exports = ToAutoComplete
@@ -93,7 +93,7 @@ ToAutoComplete.prototype.render = function () {
return h('div.send-v2__to-autocomplete', {}, [
h('input.send-v2__to-autocomplete__input', {
- placeholder: t('recipientAddress'),
+ placeholder: t(this.props.localeMessages, 'recipientAddress'),
className: inError ? `send-v2__error-border` : '',
value: to,
onChange: event => onChange(event.target.value),