diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-11-21 23:09:43 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-11-21 23:09:43 +0100 |
commit | c6233094306cd264f8faa2041388dff01ff8cf01 (patch) | |
tree | f3ee839a4254c528058887c6517a76bec8919b15 /src/webex/pages/payback.tsx | |
parent | e8f362ccfea683fe16ce68b956f068ffa0b001b1 (diff) | |
download | wallet-core-c6233094306cd264f8faa2041388dff01ff8cf01.tar.gz wallet-core-c6233094306cd264f8faa2041388dff01ff8cf01.tar.bz2 wallet-core-c6233094306cd264f8faa2041388dff01ff8cf01.zip |
WIP: simplification and error handling
Diffstat (limited to 'src/webex/pages/payback.tsx')
-rw-r--r-- | src/webex/pages/payback.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webex/pages/payback.tsx b/src/webex/pages/payback.tsx index 934c28c0a..af14b95d4 100644 --- a/src/webex/pages/payback.tsx +++ b/src/webex/pages/payback.tsx @@ -57,11 +57,11 @@ function Payback() { <div> {reserves.map(r => ( <div> - <h2>Reserve for ${renderAmount(r.current_amount!)}</h2> + <h2>Reserve for ${renderAmount(r.currentAmount!)}</h2> <ul> - <li>Exchange: ${r.exchange_base_url}</li> + <li>Exchange: ${r.exchangeBaseUrl}</li> </ul> - <button onClick={() => withdrawPaybackReserve(r.reserve_pub)}> + <button onClick={() => withdrawPaybackReserve(r.reservePub)}> Withdraw again </button> </div> |