aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/notice.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-03-28 09:41:45 +0800
committerGitHub <noreply@github.com>2018-03-28 09:41:45 +0800
commit0582fdb617a23cc56e9e08460f09d86769599fc1 (patch)
tree5daf844ac1fd0c9d1f683b479184509ebb96c850 /ui/app/components/notice.js
parentb6b18339e2de92afd2fb5364ec5bc4c29b4d10a3 (diff)
parentb4ec68b2d4b6713e0a203df88eb4a8982c2cf2c6 (diff)
downloadtangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar
tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.gz
tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.bz2
tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.lz
tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.xz
tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.zst
tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.zip
Merge pull request #3609 from MetaMask/i18n-translator-redux
Handle i18n with redux.
Diffstat (limited to 'ui/app/components/notice.js')
-rw-r--r--ui/app/components/notice.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js
index 8b0ce1e8b..a999ffd88 100644
--- a/ui/app/components/notice.js
+++ b/ui/app/components/notice.js
@@ -4,9 +4,9 @@ const h = require('react-hyperscript')
const ReactMarkdown = require('react-markdown')
const linker = require('extension-link-enabler')
const findDOMNode = require('react-dom').findDOMNode
-const t = require('../../i18n')
+const connect = require('../metamask-connect')
-module.exports = Notice
+module.exports = connect()(Notice)
inherits(Notice, Component)
function Notice () {
@@ -111,7 +111,7 @@ Notice.prototype.render = function () {
style: {
marginTop: '18px',
},
- }, t('accept')),
+ }, this.props.t('accept')),
])
)
}