diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-02 20:33:01 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-02 20:33:01 +0530 |
commit | ef0acf06bfb7820a21c4719dba0d659f600be3c7 (patch) | |
tree | 216d34722240f682e5ee58632947fa75e9b4fcee /src/webex/pages/return-coins.tsx | |
parent | 1728e5011e16f226c6e3675aa196872af39f6c4e (diff) | |
download | wallet-core-ef0acf06bfb7820a21c4719dba0d659f600be3c7.tar.xz |
model reserve history in the exchange, improve reserve handling logic
Diffstat (limited to 'src/webex/pages/return-coins.tsx')
-rw-r--r-- | src/webex/pages/return-coins.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webex/pages/return-coins.tsx b/src/webex/pages/return-coins.tsx index fd9238ee2..3786697c6 100644 --- a/src/webex/pages/return-coins.tsx +++ b/src/webex/pages/return-coins.tsx @@ -25,7 +25,7 @@ */ import { AmountJson } from "../../util/amounts"; -import * as Amounts from "../../util/amounts"; +import { Amounts } from "../../util/amounts"; import { SenderWireInfos, WalletBalance } from "../../types/walletTypes"; @@ -70,7 +70,7 @@ class ReturnSelectionItem extends React.Component< ); this.state = { currency: props.balance.byExchange[props.exchangeUrl].available.currency, - selectedValue: Amounts.toString( + selectedValue: Amounts.stringify( props.balance.byExchange[props.exchangeUrl].available, ), selectedWire: "", |