From ff49e3477e155b94e752c516cf58fdea1ca19d54 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Thu, 9 Jun 2022 13:37:33 -0300
Subject: format amount so it is align to fractional digitls

---
 .../src/components/BankDetailsByPaytoType.tsx                     | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx')

diff --git a/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx b/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx
index ef2a9f243..ec5d1e7aa 100644
--- a/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx
+++ b/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx
@@ -77,12 +77,16 @@ export function BankDetailsByPaytoType({
         <table>
           <tr>
             <td>{payto.targetPath}</td>
-            <td>{Amounts.stringifyValue(amount)} BTC</td>
+            <td>
+              <Amount value={amount} hideCurrency /> BTC
+            </td>
           </tr>
           {payto.segwitAddrs.map((addr, i) => (
             <tr key={i}>
               <td>{addr}</td>
-              <td>{Amounts.stringifyValue(min)} BTC</td>
+              <td>
+                <Amount value={min} hideCurrency /> BTC
+              </td>
             </tr>
           ))}
         </table>
-- 
cgit v1.2.3

