aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/i18n-provider.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-30 06:46:45 +0800
committerDan <danjm.com@gmail.com>2018-03-30 06:46:45 +0800
commitad603da2e72fbc64733836e1b3626627de81fa76 (patch)
treee5dec131e3127b3e7f6330792bca65b7edc30d52 /ui/app/i18n-provider.js
parent949ac352de33fb8daf9ae4ea240e201cc25418c0 (diff)
downloadtangerine-wallet-browser-ad603da2e72fbc64733836e1b3626627de81fa76.tar
tangerine-wallet-browser-ad603da2e72fbc64733836e1b3626627de81fa76.tar.gz
tangerine-wallet-browser-ad603da2e72fbc64733836e1b3626627de81fa76.tar.bz2
tangerine-wallet-browser-ad603da2e72fbc64733836e1b3626627de81fa76.tar.lz
tangerine-wallet-browser-ad603da2e72fbc64733836e1b3626627de81fa76.tar.xz
tangerine-wallet-browser-ad603da2e72fbc64733836e1b3626627de81fa76.tar.zst
tangerine-wallet-browser-ad603da2e72fbc64733836e1b3626627de81fa76.zip
Stopping wrapping provider children in div; stop wrapping old-ui in provider.
Diffstat (limited to 'ui/app/i18n-provider.js')
-rw-r--r--ui/app/i18n-provider.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/i18n-provider.js b/ui/app/i18n-provider.js
index 57482985d..fe6d62c67 100644
--- a/ui/app/i18n-provider.js
+++ b/ui/app/i18n-provider.js
@@ -1,6 +1,5 @@
const { Component } = require('react')
const connect = require('react-redux').connect
-const h = require('react-hyperscript')
const PropTypes = require('prop-types')
const t = require('../i18n-helper').getMessage
@@ -13,7 +12,7 @@ class I18nProvider extends Component {
}
render() {
- return h('div', [ this.props.children ])
+ return this.props.children
}
}