From d28ecddb336ac5a51f0ee98dbc7075f06e81143e Mon Sep 17 00:00:00 2001 From: BinHong Lee Date: Tue, 31 Oct 2017 23:28:41 -0700 Subject: [PATCH] Improve PaymentChain look by a little --- src/Components/Payment.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Components/Payment.js b/src/Components/Payment.js index 914b12f..00272de 100644 --- a/src/Components/Payment.js +++ b/src/Components/Payment.js @@ -5,7 +5,8 @@ class Payment extends Component { return (

- {this.props.payment.from} ----{this.props.payment.amount}----> {this.props.payment.to} + {this.props.payment.from} -> {this.props.payment.to}
+ Amount: {parseFloat(this.props.payment.amount).toFixed(2)}
) }