aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/copyable.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-03-28 10:42:42 +0800
committerGitHub <noreply@github.com>2018-03-28 10:42:42 +0800
commitb324a9c29506661c18034df37f2cb17e66972915 (patch)
tree8d122128b5e43251a2275d6f2108178ab74897ff /ui/app/components/copyable.js
parent74ac3bb2a7130675a10e1701d569b2c35a948f8f (diff)
parent871edfe12ad37545c596e2e926afc458c0efa559 (diff)
downloadtangerine-wallet-browser-b324a9c29506661c18034df37f2cb17e66972915.tar.gz
tangerine-wallet-browser-b324a9c29506661c18034df37f2cb17e66972915.tar.zst
tangerine-wallet-browser-b324a9c29506661c18034df37f2cb17e66972915.zip
Merge branch 'master' into i3471-checkbalanceonconfirmscreen
Diffstat (limited to 'ui/app/components/copyable.js')
-rw-r--r--ui/app/components/copyable.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/copyable.js b/ui/app/components/copyable.js
index fca7d3863..28def9adb 100644
--- a/ui/app/components/copyable.js
+++ b/ui/app/components/copyable.js
@@ -4,9 +4,9 @@ const inherits = require('util').inherits
const Tooltip = require('./tooltip')
const copyToClipboard = require('copy-to-clipboard')
-const t = require('../../i18n')
+const connect = require('../metamask-connect')
-module.exports = Copyable
+module.exports = connect()(Copyable)
inherits(Copyable, Component)
function Copyable () {
@@ -23,7 +23,7 @@ Copyable.prototype.render = function () {
const { copied } = state
return h(Tooltip, {
- title: copied ? t('copiedExclamation') : t('copy'),
+ title: copied ? this.props.t('copiedExclamation') : this.props.t('copy'),
position: 'bottom',
}, h('span', {
style: {