aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-11-11 08:36:00 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-11-14 01:52:40 +0800
commit7eb083bd9f1a8ce0e9c3e83e8b6bfb4d5a7b59cc (patch)
treeab195824e57ea06c276edf23290a8ee04cc794ff /ui/app/components
parent544166437a0a41ce25d3d47814409a7ce01b4e07 (diff)
downloadtangerine-wallet-browser-7eb083bd9f1a8ce0e9c3e83e8b6bfb4d5a7b59cc.tar
tangerine-wallet-browser-7eb083bd9f1a8ce0e9c3e83e8b6bfb4d5a7b59cc.tar.gz
tangerine-wallet-browser-7eb083bd9f1a8ce0e9c3e83e8b6bfb4d5a7b59cc.tar.bz2
tangerine-wallet-browser-7eb083bd9f1a8ce0e9c3e83e8b6bfb4d5a7b59cc.tar.lz
tangerine-wallet-browser-7eb083bd9f1a8ce0e9c3e83e8b6bfb4d5a7b59cc.tar.xz
tangerine-wallet-browser-7eb083bd9f1a8ce0e9c3e83e8b6bfb4d5a7b59cc.tar.zst
tangerine-wallet-browser-7eb083bd9f1a8ce0e9c3e83e8b6bfb4d5a7b59cc.zip
Improve variable name.
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/modals/buy-options-modal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/modals/buy-options-modal.js b/ui/app/components/modals/buy-options-modal.js
index 53e40ba92..d735983f9 100644
--- a/ui/app/components/modals/buy-options-modal.js
+++ b/ui/app/components/modals/buy-options-modal.js
@@ -45,7 +45,7 @@ BuyOptions.prototype.renderModalContentOption = function (title, header, onClick
BuyOptions.prototype.render = function () {
const { network, toCoinbase, address, toFaucet } = this.props
- const networkIsTest = ['3', '4', '42'].find(n => n === network)
+ const isTestNetwork = ['3', '4', '42'].find(n => n === network)
const networkName = networkNames[network]
return h('div', {}, [
@@ -62,7 +62,7 @@ BuyOptions.prototype.render = function () {
h('div.buy-modal-content-options.flex-column.flex-center', {}, [
- networkIsTest
+ isTestNetwork
? this.renderModalContentOption(networkName, 'Test Faucet', () => toFaucet(network))
: this.renderModalContentOption('Coinbase', 'Deposit with Fiat', () => toCoinbase(address)),