diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-21 13:10:16 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-25 14:50:41 -0300 |
commit | 0b7bbed99d155ba030a1328e357ab6751bdbb835 (patch) | |
tree | 7ef5e136aec9c1253f55295a1b20b66043a924f6 /packages/demobank-ui/src/pages/AccountPage/index.ts | |
parent | 062939d9cc016a186a282f7a48492c3e01cd740c (diff) | |
download | wallet-core-0b7bbed99d155ba030a1328e357ab6751bdbb835.tar.xz |
more ui: business and admin
Diffstat (limited to 'packages/demobank-ui/src/pages/AccountPage/index.ts')
-rw-r--r-- | packages/demobank-ui/src/pages/AccountPage/index.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/pages/AccountPage/index.ts b/packages/demobank-ui/src/pages/AccountPage/index.ts index ed6945f84..128a6d30f 100644 --- a/packages/demobank-ui/src/pages/AccountPage/index.ts +++ b/packages/demobank-ui/src/pages/AccountPage/index.ts @@ -28,6 +28,7 @@ export interface Props { onLoadNotOk: <T>( error: HttpResponsePaginated<T, SandboxBackend.SandboxError>, ) => VNode; + goToBusinessAccount: () => void; } export type State = State.Loading | State.LoadingError | State.Ready | State.InvalidIban | State.UserNotFound; @@ -51,10 +52,8 @@ export namespace State { status: "ready"; error: undefined; account: string, - payto: PaytoUriIBAN | PaytoUriTalerBank, - balance: AmountJson, - balanceIsDebit: boolean, limit: AmountJson, + goToBusinessAccount: () => void; } export interface InvalidIban { |