From 25184a3901f96e3c4fea94ed0bd135fbe7597148 Mon Sep 17 00:00:00 2001 From: sdtsui Date: Sun, 13 Aug 2017 10:24:51 -0700 Subject: Move global modals into own pod, inside components/modals --- ui/app/app.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ui/app/app.js') 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(), -- cgit v1.2.3