Browse Source

Improve PaymentChain look by a little

master
BinHong Lee 6 years ago
parent
commit
d28ecddb33
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/Components/Payment.js

+ 2
- 1
src/Components/Payment.js View File

@@ -5,7 +5,8 @@ class Payment extends Component {
return (
<div className="Payment">
<br/>
{this.props.payment.from} ----{this.props.payment.amount}----> {this.props.payment.to}
{this.props.payment.from} -> {this.props.payment.to}<br/>
Amount: {parseFloat(this.props.payment.amount).toFixed(2)}
</div>
)
}


Loading…
Cancel
Save