aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/send-content/send-amount-row/send-amount-row.component.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-05-24 23:36:48 +0800
committerDan <danjm.com@gmail.com>2018-05-25 00:01:14 +0800
commit1405237479621d7258468e6c7694415b0afbb045 (patch)
treef2c8640f9ddb70a1bb5f26032740f98917f9e2ab /ui/app/components/send_/send-content/send-amount-row/send-amount-row.component.js
parentc4e48d9263cb251695afc28d936f7abb0e033f5c (diff)
downloadtangerine-wallet-browser-1405237479621d7258468e6c7694415b0afbb045.tar.gz
tangerine-wallet-browser-1405237479621d7258468e6c7694415b0afbb045.tar.zst
tangerine-wallet-browser-1405237479621d7258468e6c7694415b0afbb045.zip
Fix display of primary currency symbol in send amount row
Diffstat (limited to 'ui/app/components/send_/send-content/send-amount-row/send-amount-row.component.js')
-rw-r--r--ui/app/components/send_/send-content/send-amount-row/send-amount-row.component.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/send_/send-content/send-amount-row/send-amount-row.component.js b/ui/app/components/send_/send-content/send-amount-row/send-amount-row.component.js
index be301ca7d..b094d0cd5 100644
--- a/ui/app/components/send_/send-content/send-amount-row/send-amount-row.component.js
+++ b/ui/app/components/send_/send-content/send-amount-row/send-amount-row.component.js
@@ -64,7 +64,7 @@ export default class SendAmountRow extends Component {
convertedCurrency,
gasTotal,
inError,
- primaryCurrency = 'ETH',
+ primaryCurrency,
selectedToken,
} = this.props
@@ -80,7 +80,7 @@ export default class SendAmountRow extends Component {
convertedCurrency={convertedCurrency}
handleChange={newAmount => this.handleAmountChange(newAmount)}
inError={inError}
- primaryCurrency={primaryCurrency}
+ primaryCurrency={primaryCurrency || 'ETH'}
selectedToken={selectedToken}
value={amount || '0x0'}
/>