From ef0acf06bfb7820a21c4719dba0d659f600be3c7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 2 Apr 2020 20:33:01 +0530 Subject: model reserve history in the exchange, improve reserve handling logic --- src/webex/pages/return-coins.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webex/pages/return-coins.tsx') 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: "", -- cgit v1.2.3