From b72c00a6c15af9692cbaf46b89a19e5cef45f7b7 Mon Sep 17 00:00:00 2001 From: Frankie Date: Fri, 12 Aug 2016 15:59:12 -0700 Subject: Add a to test faucet button --- ui/app/components/buy-button-subview.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ui') 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, ]) } } -- cgit v1.2.3