diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-01-30 22:16:40 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-02-05 20:19:55 +0800 |
commit | a7a6318c132d2c0014f7f6ee2ff70d4a9ec259ac (patch) | |
tree | 5d8343474f52d12044b590174b39d2172db7af00 /ui/app/root.js | |
parent | c18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9 (diff) | |
download | tangerine-wallet-browser-a7a6318c132d2c0014f7f6ee2ff70d4a9ec259ac.tar.gz tangerine-wallet-browser-a7a6318c132d2c0014f7f6ee2ff70d4a9ec259ac.tar.zst tangerine-wallet-browser-a7a6318c132d2c0014f7f6ee2ff70d4a9ec259ac.zip |
Default to the new UI for all users
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), + ]), + ]), ]) ) } |