From c88bcce9987d4b5cc8123002485a928ff4191e94 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Sun, 4 Jun 2017 17:56:55 +0200
Subject: some UI fixes

---
 src/webex/pages/payback.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/webex/pages/payback.tsx')

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>
-- 
cgit v1.2.3

