aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/buy-options.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-09 09:44:20 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-09 09:44:20 +0800
commitbdf5436c2d26304b226734e4295ee319ed67b954 (patch)
tree3766917e8f33c485128e5fc872c7d68093094a1f /ui/app/components/buy-options.js
parentc8893fb9cac245c7ec22c8a01a12458c56a8e56a (diff)
downloadtangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.gz
tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.zst
tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.zip
Add minor comments and cleanup for new components
Diffstat (limited to 'ui/app/components/buy-options.js')
-rw-r--r--ui/app/components/buy-options.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/buy-options.js b/ui/app/components/buy-options.js
index f0864d087..d36328efd 100644
--- a/ui/app/components/buy-options.js
+++ b/ui/app/components/buy-options.js
@@ -26,10 +26,12 @@ function BuyOptions () {
module.exports = connect(mapStateToProps, mapDispatchToProps)(BuyOptions)
+// BuyOptions is currently meant to be rendered inside <Modal />
+// It is the only component in this codebase that does so
+// It utilizes modal styles
BuyOptions.prototype.render = function () {
return h('div', {}, [
h('div.modal-content.transfers-subview', {
-
}, [
h('div.modal-content-title-wrapper.flex-column.flex-center', {
style: {},
@@ -44,7 +46,6 @@ BuyOptions.prototype.render = function () {
h('div.modal-content-option', {
onClick: () => {
- console.log("buy clicked")
const { toCoinbase, address } = this.props
toCoinbase(address)
},