diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-14 01:49:41 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-14 01:49:41 +0800 |
commit | e39c600a45a4cf28b5429231dd6c57442d467075 (patch) | |
tree | 74e7b87195960564d66710d749c3017e2ff46ecb /ui/app/components/modals | |
parent | 25184a3901f96e3c4fea94ed0bd135fbe7597148 (diff) | |
download | tangerine-wallet-browser-e39c600a45a4cf28b5429231dd6c57442d467075.tar tangerine-wallet-browser-e39c600a45a4cf28b5429231dd6c57442d467075.tar.gz tangerine-wallet-browser-e39c600a45a4cf28b5429231dd6c57442d467075.tar.bz2 tangerine-wallet-browser-e39c600a45a4cf28b5429231dd6c57442d467075.tar.lz tangerine-wallet-browser-e39c600a45a4cf28b5429231dd6c57442d467075.tar.xz tangerine-wallet-browser-e39c600a45a4cf28b5429231dd6c57442d467075.tar.zst tangerine-wallet-browser-e39c600a45a4cf28b5429231dd6c57442d467075.zip |
[WIP] Extract network dropdown out of main app render function
Diffstat (limited to 'ui/app/components/modals')
-rw-r--r-- | ui/app/components/modals/buy-modal.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ui/app/components/modals/buy-modal.js b/ui/app/components/modals/buy-modal.js index c1bf1d0df..9a3e4dff9 100644 --- a/ui/app/components/modals/buy-modal.js +++ b/ui/app/components/modals/buy-modal.js @@ -1,12 +1,8 @@ const Component = require('react').Component const h = require('react-hyperscript') const inherits = require('util').inherits -const connect = require('react-redux').connect -const FadeModal = require('boron').FadeModal -const actions = require('../../actions') -const isMobileView = require('../../../lib/is-mobile-view') -const isPopupOrNotification = require('../../../../app/scripts/lib/is-popup-or-notification') const BuyOptions = require('../buy-options') +const Modal = require('./modal.js') inherits(BuyModal, Component) function BuyModal () { @@ -16,7 +12,7 @@ function BuyModal () { module.exports = BuyModal BuyModal.prototype.render = function () { - return h(BuyModal, { + return h(Modal, { ref: "modalRef", }, [ h(BuyOptions, {}, []), |