diff options
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.js | 3 |
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 } } |