aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-03-31 08:37:24 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-03-31 08:37:24 +0800
commit2fa554a6414d2231dcd6f2476866ea9c1c7b80ca (patch)
tree27e54743a9e182fa3240d541b764440b7f977656 /ui/app/app.js
parent51ad2b03c82febf5259d32f4bd6f440b24235d7b (diff)
downloadtangerine-wallet-browser-2fa554a6414d2231dcd6f2476866ea9c1c7b80ca.tar
tangerine-wallet-browser-2fa554a6414d2231dcd6f2476866ea9c1c7b80ca.tar.gz
tangerine-wallet-browser-2fa554a6414d2231dcd6f2476866ea9c1c7b80ca.tar.bz2
tangerine-wallet-browser-2fa554a6414d2231dcd6f2476866ea9c1c7b80ca.tar.lz
tangerine-wallet-browser-2fa554a6414d2231dcd6f2476866ea9c1c7b80ca.tar.xz
tangerine-wallet-browser-2fa554a6414d2231dcd6f2476866ea9c1c7b80ca.tar.zst
tangerine-wallet-browser-2fa554a6414d2231dcd6f2476866ea9c1c7b80ca.zip
Fix conf-tx render
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index af2b70353..8a21220b1 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -4,7 +4,6 @@ const connect = require('react-redux').connect
const { Route, Switch, Redirect, withRouter } = require('react-router-dom')
const { compose } = require('recompose')
const h = require('react-hyperscript')
-const PropTypes = require('prop-types')
const actions = require('./actions')
const classnames = require('classnames')
@@ -732,6 +731,10 @@ function mapDispatchToProps (dispatch, ownProps) {
}
}
+App.contextTypes = {
+ t: PropTypes.func,
+}
+
module.exports = compose(
withRouter,
connect(mapStateToProps, mapDispatchToProps)