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/AccountPage/state.ts | |
parent | fd9ed97fdc60baaa3f74a3f7b02c6831c6d6948b (diff) | |
download | wallet-core-0b2c03dc5e1060cd229aeafb84263f171b5a9788.tar.xz |
new libeufin api
Diffstat (limited to 'packages/demobank-ui/src/pages/AccountPage/state.ts')
-rw-r--r-- | packages/demobank-ui/src/pages/AccountPage/state.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/pages/AccountPage/state.ts b/packages/demobank-ui/src/pages/AccountPage/state.ts index 3df463f4e..a23d3b569 100644 --- a/packages/demobank-ui/src/pages/AccountPage/state.ts +++ b/packages/demobank-ui/src/pages/AccountPage/state.ts @@ -63,9 +63,7 @@ export function useComponentState({ account, goToBusinessAccount, goToConfirmOpe const { data } = result; - // FIXME: balance - // const balance = Amounts.parseOrThrow(data.balance.amount); - const balance = Amounts.parseOrThrow(data.balance); + const balance = Amounts.parseOrThrow(data.balance.amount); const debitThreshold = Amounts.parseOrThrow(data.debit_threshold); const payto = parsePaytoUri(data.payto_uri); |