diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-09 09:44:20 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-09 09:44:20 +0800 |
commit | bdf5436c2d26304b226734e4295ee319ed67b954 (patch) | |
tree | 3766917e8f33c485128e5fc872c7d68093094a1f /ui/app/components/buy-options.js | |
parent | c8893fb9cac245c7ec22c8a01a12458c56a8e56a (diff) | |
download | tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.gz tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.bz2 tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.lz tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.xz 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.js | 5 |
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) }, |