aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/components/buy-button-subview.js5
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,
])
}
}