aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/buy-button-subview.js
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2017-04-28 06:08:13 +0800
committerGitHub <noreply@github.com>2017-04-28 06:08:13 +0800
commitd8a5e6a8e43f04a9f123167326fe46dfb8fc2ae6 (patch)
tree9143b42107d8aeb75fa58f8de45c5730bb8621dd /ui/app/components/buy-button-subview.js
parenta90b010de891f7936bc17c09c5fd27c61fc0610d (diff)
parentd1a10691802fc7eef65f13126c684b6cdf13d461 (diff)
downloadtangerine-wallet-browser-d8a5e6a8e43f04a9f123167326fe46dfb8fc2ae6.tar.gz
tangerine-wallet-browser-d8a5e6a8e43f04a9f123167326fe46dfb8fc2ae6.tar.zst
tangerine-wallet-browser-d8a5e6a8e43f04a9f123167326fe46dfb8fc2ae6.zip
Merge pull request #1352 from MetaMask/rinkeby
Rinkeby
Diffstat (limited to 'ui/app/components/buy-button-subview.js')
-rw-r--r--ui/app/components/buy-button-subview.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js
index 191f46319..87084f92d 100644
--- a/ui/app/components/buy-button-subview.js
+++ b/ui/app/components/buy-button-subview.js
@@ -152,13 +152,19 @@ BuyButtonSubview.prototype.formVersionSubview = function () {
marginBottom: '15px',
},
}, 'In order to access this feature, please switch to the Main Network'),
- ((network === '3') || (network === '42')) ? h('h3.text-transform-uppercase', 'or go to the') : null,
+ ((network === '3') || (network === '4') || (network === '42')) ? h('h3.text-transform-uppercase', 'or go to the') : null,
(network === '3') ? h('button.text-transform-uppercase', {
onClick: () => this.props.dispatch(actions.buyEth({ network })),
style: {
marginTop: '15px',
},
}, 'Ropsten Test Faucet') : null,
+ (network === '4') ? h('button.text-transform-uppercase', {
+ onClick: () => this.props.dispatch(actions.buyEth({ network })),
+ style: {
+ marginTop: '15px',
+ },
+ }, 'Rinkeby Test Faucet') : null,
(network === '42') ? h('button.text-transform-uppercase', {
onClick: () => this.props.dispatch(actions.buyEth({ network })),
style: {