diff options
Diffstat (limited to 'packages/demobank-ui/src/pages/OperationState/index.ts')
-rw-r--r-- | packages/demobank-ui/src/pages/OperationState/index.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/demobank-ui/src/pages/OperationState/index.ts b/packages/demobank-ui/src/pages/OperationState/index.ts index b347fd942..bc3555c48 100644 --- a/packages/demobank-ui/src/pages/OperationState/index.ts +++ b/packages/demobank-ui/src/pages/OperationState/index.ts @@ -14,8 +14,8 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ -import { AbsoluteTime, AmountJson, WithdrawUriResult } from "@gnu-taler/taler-util"; -import { HttpError, utils } from "@gnu-taler/web-util/browser"; +import { AbsoluteTime, AmountJson, TalerCoreBankErrorsByMethod, TalerError, TalerErrorDetail, TranslatedString, WithdrawUriResult } from "@gnu-taler/taler-util"; +import { utils } from "@gnu-taler/web-util/browser"; import { ErrorLoading } from "../../components/ErrorLoading.js"; import { Loading } from "../../components/Loading.js"; import { useComponentState } from "./state.js"; @@ -44,7 +44,7 @@ export namespace State { export interface LoadingError { status: "loading-error"; - error: HttpError<SandboxBackend.SandboxError>; + error: TalerError; } /** @@ -61,7 +61,7 @@ export namespace State { export interface InvalidPayto { status: "invalid-payto", error: undefined; - payto: string | null; + payto: string | undefined; onClose: () => void; } export interface InvalidWithdrawal { @@ -74,7 +74,7 @@ export namespace State { status: "invalid-reserve", error: undefined; onClose: () => void; - reserve: string | null; + reserve: string | undefined; } export interface NeedConfirmation { status: "need-confirmation", |