aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/pages/WireTransfer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/demobank-ui/src/pages/WireTransfer.tsx')
-rw-r--r--packages/demobank-ui/src/pages/WireTransfer.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/demobank-ui/src/pages/WireTransfer.tsx b/packages/demobank-ui/src/pages/WireTransfer.tsx
index 5e6081b11..a68c085c9 100644
--- a/packages/demobank-ui/src/pages/WireTransfer.tsx
+++ b/packages/demobank-ui/src/pages/WireTransfer.tsx
@@ -8,6 +8,7 @@ import { assertUnreachable } from "./WithdrawalOperationPage.js";
import { LoginForm } from "./LoginForm.js";
import { PaytoWireTransferForm } from "./PaytoWireTransferForm.js";
import { useBackendState } from "../hooks/backend.js";
+import { ErrorLoadingWithDebug } from "../components/ErrorLoadingWithDebug.js";
export function WireTransfer({ toAccount, onRegister, onCancel, onSuccess }: { onSuccess?: () => void; toAccount?: string, onCancel?: () => void, onRegister?: () => void }): VNode {
const { i18n } = useTranslationContext();
@@ -19,7 +20,7 @@ export function WireTransfer({ toAccount, onRegister, onCancel, onSuccess }: { o
return <Loading />
}
if (result instanceof TalerError) {
- return <ErrorLoading error={result} />
+ return <ErrorLoadingWithDebug error={result} />
}
if (result.type === "fail") {
switch (result.case) {