|
@ -57,7 +57,9 @@ class Network extends Component { |
|
|
|
|
|
|
|
|
suggestedNodesProps, |
|
|
suggestedNodesProps, |
|
|
|
|
|
|
|
|
network |
|
|
network, |
|
|
|
|
|
|
|
|
|
|
|
currencyName |
|
|
} = this.props |
|
|
} = this.props |
|
|
|
|
|
|
|
|
const refreshClicked = () => { |
|
|
const refreshClicked = () => { |
|
@ -151,7 +153,7 @@ class Network extends Component { |
|
|
<section> |
|
|
<section> |
|
|
<h2>My Network</h2> |
|
|
<h2>My Network</h2> |
|
|
<span className={styles.channelAmount}> |
|
|
<span className={styles.channelAmount}> |
|
|
{btc.satoshisToBtc(balance.channelBalance)}BTC ≈ ${usdAmount |
|
|
{btc.satoshisToBtc(balance.channelBalance)} {currencyName} ≈ ${usdAmount |
|
|
? usdAmount.toLocaleString() |
|
|
? usdAmount.toLocaleString() |
|
|
: ''} |
|
|
: ''} |
|
|
</span> |
|
|
</span> |
|
@ -357,7 +359,9 @@ Network.propTypes = { |
|
|
changeFilter: PropTypes.func.isRequired, |
|
|
changeFilter: PropTypes.func.isRequired, |
|
|
updateChannelSearchQuery: PropTypes.func.isRequired, |
|
|
updateChannelSearchQuery: PropTypes.func.isRequired, |
|
|
setSelectedChannel: PropTypes.func.isRequired, |
|
|
setSelectedChannel: PropTypes.func.isRequired, |
|
|
closeChannel: PropTypes.func.isRequired |
|
|
closeChannel: PropTypes.func.isRequired, |
|
|
|
|
|
|
|
|
|
|
|
currencyName: PropTypes.string.isRequired |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export default Network |
|
|
export default Network |
|
|