aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/notification-modal.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-20 02:53:54 +0800
committerDan <danjm.com@gmail.com>2018-03-20 03:09:37 +0800
commit09260f9c5e0b2c460a214f00b87c8fafe0470419 (patch)
tree80643438ba93a09cef581010e7d27b7feb4a09d0 /ui/app/components/modals/notification-modal.js
parent57338200247fa6520a58c9b4a9625edb0382aba1 (diff)
downloadtangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.gz
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.bz2
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.lz
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.xz
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.zst
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.zip
Fixed t() calls where localeMessages is missing; and fix incorrect connect reference.
Diffstat (limited to 'ui/app/components/modals/notification-modal.js')
-rw-r--r--ui/app/components/modals/notification-modal.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/modals/notification-modal.js b/ui/app/components/modals/notification-modal.js
index c05d80251..ba2c92c92 100644
--- a/ui/app/components/modals/notification-modal.js
+++ b/ui/app/components/modals/notification-modal.js
@@ -1,7 +1,7 @@
const { Component } = require('react')
const PropTypes = require('prop-types')
const h = require('react-hyperscript')
-const { connect } = require('react-redux')
+const connect = require('../../metamask-connect')
const actions = require('../../actions')
const t = require('../../../i18n-helper').getMessage
@@ -23,12 +23,12 @@ class NotificationModal extends Component {
}, [
h('div.notification-modal__header', {}, [
- t(header),
+ t(this.props.localeMessages, header),
]),
h('div.notification-modal__message-wrapper', {}, [
h('div.notification-modal__message', {}, [
- t(message),
+ t(this.props.localeMessages, message),
]),
]),