aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/buy-button-subview.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-22 10:18:10 +0800
committerDan <danjm.com@gmail.com>2018-03-22 10:18:10 +0800
commita82631791efb496efc9f611a2a3edbac7123d221 (patch)
tree747446f3fa06954dc40f82ca5434a8d63960eecf /ui/app/components/buy-button-subview.js
parent18f85835296f12814e0593dfc67b29ac672ddf53 (diff)
downloadtangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.tar.gz
tangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.tar.zst
tangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.zip
Lint fixes
Diffstat (limited to 'ui/app/components/buy-button-subview.js')
-rw-r--r--ui/app/components/buy-button-subview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js
index 2243ce38b..eafa2af91 100644
--- a/ui/app/components/buy-button-subview.js
+++ b/ui/app/components/buy-button-subview.js
@@ -143,7 +143,7 @@ BuyButtonSubview.prototype.primarySubview = function () {
case '4':
case '42':
const networkName = networkNames[network]
- const label = `${networkName} ${t('testFaucet')}`
+ const label = `${networkName} ${this.props.t('testFaucet')}`
return (
h('div.flex-column', {
style: {
@@ -203,7 +203,7 @@ BuyButtonSubview.prototype.mainnetSubview = function () {
'ShapeShift',
],
subtext: {
- 'Coinbase': `${t('crypto')}/${t('fiat')} (${t('usaOnly')})`,
+ 'Coinbase': `${this.props.t('crypto')}/${this.props.t('fiat')} (${this.props.t('usaOnly')})`,
'ShapeShift': this.props.t('crypto'),
},
onClick: this.radioHandler.bind(this),