aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/buy-modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/modals/buy-modal.js')
-rw-r--r--ui/app/components/modals/buy-modal.js8
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, {}, []),