|
@ -85,10 +85,10 @@ const Payments = ({ |
|
|
<div className={styles.right}> |
|
|
<div className={styles.right}> |
|
|
<span className={styles.value}> |
|
|
<span className={styles.value}> |
|
|
{ |
|
|
{ |
|
|
ticker.currency === 'btc' ? |
|
|
ticker.currency === 'usd' ? |
|
|
btc.satoshisToBtc(paymentItem.value) |
|
|
|
|
|
: |
|
|
|
|
|
btc.satoshisToUsd(paymentItem.value, currentTicker.price_usd) |
|
|
btc.satoshisToUsd(paymentItem.value, currentTicker.price_usd) |
|
|
|
|
|
: |
|
|
|
|
|
btc.satoshisToBtc(paymentItem.value) |
|
|
} |
|
|
} |
|
|
</span> |
|
|
</span> |
|
|
</div> |
|
|
</div> |
|
|