diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-25 09:31:17 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-25 14:50:45 -0300 |
commit | 0b2c03dc5e1060cd229aeafb84263f171b5a9788 (patch) | |
tree | d95fc53b31cb8188be8f4697b1a8d01495b3a41b /packages/demobank-ui/src/pages/BankFrame.tsx | |
parent | fd9ed97fdc60baaa3f74a3f7b02c6831c6d6948b (diff) | |
download | wallet-core-0b2c03dc5e1060cd229aeafb84263f171b5a9788.tar.xz |
new libeufin api
Diffstat (limited to 'packages/demobank-ui/src/pages/BankFrame.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/BankFrame.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/demobank-ui/src/pages/BankFrame.tsx b/packages/demobank-ui/src/pages/BankFrame.tsx index 214aac063..39ca09f1b 100644 --- a/packages/demobank-ui/src/pages/BankFrame.tsx +++ b/packages/demobank-ui/src/pages/BankFrame.tsx @@ -474,11 +474,9 @@ function AccountBalance({ account }: { account: string }): VNode { const result = useAccountDetails(account); if (!result.ok) return <div /> - // FIXME: balance return <div> - {Amounts.currencyOf(result.data.balance)} {Amounts.stringifyValue(result.data.balance)} - {/* {Amounts.currencyOf(result.data.balance.amount)} + {Amounts.currencyOf(result.data.balance.amount)} {result.data.balance.credit_debit_indicator === "debit" ? "-" : ""} - {Amounts.stringifyValue(result.data.balance.amount)} */} + {Amounts.stringifyValue(result.data.balance.amount)} </div> } |