diff options
Diffstat (limited to 'packages/demobank-ui/src/components/Cashouts/index.ts')
-rw-r--r-- | packages/demobank-ui/src/components/Cashouts/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/components/Cashouts/index.ts b/packages/demobank-ui/src/components/Cashouts/index.ts index 05ef1f3b4..ae020cef6 100644 --- a/packages/demobank-ui/src/components/Cashouts/index.ts +++ b/packages/demobank-ui/src/components/Cashouts/index.ts @@ -18,7 +18,7 @@ import { HttpError, utils } from "@gnu-taler/web-util/browser"; import { Loading } from "../Loading.js"; // import { compose, StateViewMap } from "../../utils/index.js"; // import { wxApi } from "../../wxApi.js"; -import { AbsoluteTime, AmountJson } from "@gnu-taler/taler-util"; +import { AbsoluteTime, AmountJson, TalerCorebankApi, TalerError } from "@gnu-taler/taler-util"; import { useComponentState } from "./state.js"; import { LoadingUriView, ReadyView } from "./views.js"; @@ -37,7 +37,7 @@ export namespace State { export interface LoadingUriError { status: "loading-error"; - error: HttpError<SandboxBackend.SandboxError>; + error: TalerError; } export interface BaseInfo { @@ -46,7 +46,7 @@ export namespace State { export interface Ready extends BaseInfo { status: "ready"; error: undefined; - cashouts: SandboxBackend.Circuit.CashoutStatusResponseWithId[]; + cashouts: (TalerCorebankApi.CashoutStatusResponse & { id: string })[]; onSelected: (id: string) => void; } } |