aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-14 01:24:51 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-14 01:24:51 +0800
commit25184a3901f96e3c4fea94ed0bd135fbe7597148 (patch)
tree0b489f718fa903f1d68e9f35a60ca8ebec5ca6d0 /ui/app/app.js
parent9b48e0aa53ff73fe526c4788c929b0ffe5a2d499 (diff)
downloadtangerine-wallet-browser-25184a3901f96e3c4fea94ed0bd135fbe7597148.tar.gz
tangerine-wallet-browser-25184a3901f96e3c4fea94ed0bd135fbe7597148.tar.zst
tangerine-wallet-browser-25184a3901f96e3c4fea94ed0bd135fbe7597148.zip
Move global modals into own pod, inside components/modals
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 3ffa9f0d5..42e67c6db 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -36,8 +36,9 @@ const HDRestoreVaultScreen = require('./keychains/hd/restore-vault')
const RevealSeedConfirmation = require('./keychains/hd/recover-seed/confirmation')
const ReactCSSTransitionGroup = require('react-addons-css-transition-group')
const AccountDropdowns = require('./components/account-dropdowns').AccountDropdowns
-const Modal = require('./components/modal')
-const BuyOptions = require('./components/buy-options')
+
+// Global Modals
+const BuyModal = require('./components/modals/index').BuyModal
module.exports = connect(mapStateToProps, mapDispatchToProps)(App)
@@ -105,7 +106,7 @@ App.prototype.render = function () {
}, [
// global modal
- this.renderGlobalModal(),
+ h(BuyModal, {}, []),
// app bar
this.renderAppBar(),