diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-08-13 06:59:12 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-08-13 07:12:40 +0800 |
commit | b72c00a6c15af9692cbaf46b89a19e5cef45f7b7 (patch) | |
tree | 05b3ab2cb415bd25d2565ca5012e60bc2c33bbd6 | |
parent | bf7435926faab81ac0007dfd217e7abec2a715cd (diff) | |
download | tangerine-wallet-browser-b72c00a6c15af9692cbaf46b89a19e5cef45f7b7.tar tangerine-wallet-browser-b72c00a6c15af9692cbaf46b89a19e5cef45f7b7.tar.gz tangerine-wallet-browser-b72c00a6c15af9692cbaf46b89a19e5cef45f7b7.tar.bz2 tangerine-wallet-browser-b72c00a6c15af9692cbaf46b89a19e5cef45f7b7.tar.lz tangerine-wallet-browser-b72c00a6c15af9692cbaf46b89a19e5cef45f7b7.tar.xz tangerine-wallet-browser-b72c00a6c15af9692cbaf46b89a19e5cef45f7b7.tar.zst tangerine-wallet-browser-b72c00a6c15af9692cbaf46b89a19e5cef45f7b7.zip |
Add a to test faucet button
-rw-r--r-- | ui/app/components/buy-button-subview.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js index 3f13878df..19a6e251f 100644 --- a/ui/app/components/buy-button-subview.js +++ b/ui/app/components/buy-button-subview.js @@ -96,7 +96,6 @@ BuyButtonSubview.prototype.formVersionSubview = function () { return h(ShapeshiftForm, this.props) } } else { - console.log(this.props.network) return h('div.flex-column', { style: { alignItems: 'center', @@ -108,6 +107,10 @@ BuyButtonSubview.prototype.formVersionSubview = function () { width: '225px', }, }, 'In order to access this feature please switch too the Main Network'), + h('h3.text-transform-uppercase', 'or:'), + this.props.network === '2' ? h('button.text-transform-uppercase', { + onClick: () => this.props.dispatch(actions.buyEth()), + }, 'Go To Test Faucet') : null, ]) } } |