Browse Source

Merge pull request #800 from mrfelton/fix/currecy-display-network-view

fix(channels): display currencyName in network
renovate/lint-staged-8.x
JimmyMow 6 years ago
committed by GitHub
parent
commit
2906649fff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      app/components/Contacts/Network/Network.js

17
app/components/Contacts/Network/Network.js

@ -174,16 +174,19 @@ class Network extends Component {
</h2>
<span className={styles.channelAmount}>
{Boolean(balance.channelBalance) && (
<Value
value={balance.channelBalance}
currency={ticker.currency}
currentTicker={currentTicker}
fiatTicker={ticker.fiatTicker}
/>
<span>
<Value
value={balance.channelBalance}
currency={ticker.currency}
currentTicker={currentTicker}
fiatTicker={ticker.fiatTicker}
/>
<i> {currencyName}</i>
</span>
)}
{Boolean(fiatAmount) && (
<span>
{'≈ '}
{' ≈ '}
<FormattedNumber
currency={ticker.fiatTicker}
style="currency"

Loading…
Cancel
Save