diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-02-05 22:12:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 22:12:06 +0800 |
commit | 697d5adfc857e6e1338167a14757b38eb4d3172c (patch) | |
tree | bd657661a3f107666f67c40b6b448b8210f8c7b7 /ui/app/root.js | |
parent | 7bbd6e70393027bbbeecccdef71eaf70aac52c45 (diff) | |
parent | f3a7054f6b25a43b55bb6bda77b084171d611d12 (diff) | |
download | tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.tar tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.tar.gz tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.tar.bz2 tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.tar.lz tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.tar.xz tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.tar.zst tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.zip |
Merge pull request #6082 from whymarrh/migrate-to-new-ui
Migrate all users to the new UI
Diffstat (limited to 'ui/app/root.js')
-rw-r--r-- | ui/app/root.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ui/app/root.js b/ui/app/root.js index 09deae1b1..f9e3709a0 100644 --- a/ui/app/root.js +++ b/ui/app/root.js @@ -2,7 +2,9 @@ const { Component } = require('react') const PropTypes = require('prop-types') const { Provider } = require('react-redux') const h = require('react-hyperscript') -const SelectedApp = require('./select-app') +const { HashRouter } = require('react-router-dom') +const App = require('./app') +const I18nProvider = require('./i18n-provider') class Root extends Component { render () { @@ -10,7 +12,13 @@ class Root extends Component { return ( h(Provider, { store }, [ - h(SelectedApp), + h(HashRouter, { + hashType: 'noslash', + }, [ + h(I18nProvider, [ + h(App), + ]), + ]), ]) ) } |