From 68bbe7b40392a01e69bf7035a9d4e864f9c8fc9e Mon Sep 17 00:00:00 2001 From: nicocappabianca Date: Sat, 3 Oct 2020 17:43:44 -0300 Subject: [PATCH] update functionality --- src/components/admin-lte/send-receive/send.js | 28 +++++++++++++------ 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/src/components/admin-lte/send-receive/send.js b/src/components/admin-lte/send-receive/send.js index 5d57e9b..377026d 100644 --- a/src/components/admin-lte/send-receive/send.js +++ b/src/components/admin-lte/send-receive/send.js @@ -68,6 +68,7 @@ class Send extends React.Component { } /> -
+

- { _this.state.sendCurrency === 'BCH' - ? `USD: ${ (_this.state.amountSat * (_this.props.currentRate / 100)).toFixed(2) }` - : `BCH: ${ (_this.state.amountSat / (_this.props.currentRate / 100)).toFixed(8) }` - } + {_this.state.sendCurrency === 'BCH' + ? `USD: ${(_this.state.amountSat * (_this.props.currentRate / 100)).toFixed(2)}` + : `BCH: ${(_this.state.amountSat / (_this.props.currentRate / 100)).toFixed(8)}`}