|
@ -27,8 +27,13 @@ const Transaction = ({ transaction, ticker, currentTicker, showActivityModal, cu |
|
|
<Moment format="h:mm a">{transaction.time_stamp * 1000}</Moment> |
|
|
<Moment format="h:mm a">{transaction.time_stamp * 1000}</Moment> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div className={`${styles.amount} ${transaction.received ? styles.positive : styles.negative}`}> |
|
|
<div |
|
|
<span className="hint--top" data-hint="Transaction amount"> |
|
|
className={`hint--top-left ${styles.amount} ${ |
|
|
|
|
|
transaction.received ? styles.positive : styles.negative |
|
|
|
|
|
}`}
|
|
|
|
|
|
data-hint="Transaction amount" |
|
|
|
|
|
> |
|
|
|
|
|
<span> |
|
|
<i className={transaction.received ? styles.plus : styles.minus}> |
|
|
<i className={transaction.received ? styles.plus : styles.minus}> |
|
|
{transaction.received ? '+' : '-'} |
|
|
{transaction.received ? '+' : '-'} |
|
|
</i> |
|
|
</i> |
|
@ -39,9 +44,7 @@ const Transaction = ({ transaction, ticker, currentTicker, showActivityModal, cu |
|
|
/> |
|
|
/> |
|
|
<i> {currencyName}</i> |
|
|
<i> {currencyName}</i> |
|
|
</span> |
|
|
</span> |
|
|
<span className="hint--bottom" data-hint="Transaction fee"> |
|
|
<span>${btc.convert('sats', 'usd', transaction.amount, currentTicker.price_usd)}</span> |
|
|
${btc.convert('sats', 'usd', transaction.amount, currentTicker.price_usd)} |
|
|
|
|
|
</span> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
) |
|
|
) |
|
|