aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages/payback.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-06-04 17:56:55 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-06-04 17:56:55 +0200
commitc88bcce9987d4b5cc8123002485a928ff4191e94 (patch)
treea9d11203372ff9736145c5a2900b371b96674d1d /src/webex/pages/payback.tsx
parente0e496b87837080b98caa002725768a497836c9f (diff)
downloadwallet-core-c88bcce9987d4b5cc8123002485a928ff4191e94.tar.xz
some UI fixes
Diffstat (limited to 'src/webex/pages/payback.tsx')
-rw-r--r--src/webex/pages/payback.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webex/pages/payback.tsx b/src/webex/pages/payback.tsx
index 4aadf5add..51ad8612c 100644
--- a/src/webex/pages/payback.tsx
+++ b/src/webex/pages/payback.tsx
@@ -24,7 +24,7 @@
/**
* Imports.
*/
-import { amountToPretty } from "../../helpers";
+import { renderAmount } from "../renderHtml";
import {
ReserveRecord,
} from "../../types";
@@ -73,7 +73,7 @@ class Payback extends ImplicitStateComponent<any> {
<div>
{reserves.map((r) => (
<div>
- <h2>Reserve for ${amountToPretty(r.current_amount!)}</h2>
+ <h2>Reserve for ${renderAmount(r.current_amount!)}</h2>
<ul>
<li>Exchange: ${r.exchange_base_url}</li>
</ul>