aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/pages/business/CreateCashout.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-12-08 12:57:28 -0300
committerSebastian <sebasjm@gmail.com>2023-12-08 12:57:28 -0300
commitbe741548a5c9325164bccc90056d490e85842e69 (patch)
tree13df131a95e3b08be39e0a4f5c6a555d57518ed7 /packages/demobank-ui/src/pages/business/CreateCashout.tsx
parent13f397521c0bb2b1587fa287de5be49c74f69d12 (diff)
downloadwallet-core-be741548a5c9325164bccc90056d490e85842e69.tar.xz
error handling
Diffstat (limited to 'packages/demobank-ui/src/pages/business/CreateCashout.tsx')
-rw-r--r--packages/demobank-ui/src/pages/business/CreateCashout.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/demobank-ui/src/pages/business/CreateCashout.tsx b/packages/demobank-ui/src/pages/business/CreateCashout.tsx
index 4b3077984..8987accd1 100644
--- a/packages/demobank-ui/src/pages/business/CreateCashout.tsx
+++ b/packages/demobank-ui/src/pages/business/CreateCashout.tsx
@@ -23,7 +23,6 @@ import {
} from "@gnu-taler/taler-util";
import {
Attention,
- ErrorLoading,
Loading,
LocalNotificationBanner,
ShowInputErrorLabel,
@@ -33,7 +32,7 @@ import {
} from "@gnu-taler/web-util/browser";
import { Fragment, VNode, h } from "preact";
import { useEffect, useState } from "preact/hooks";
-import { mutate } from "swr";
+import { ErrorLoadingWithDebug } from "../../components/ErrorLoadingWithDebug.js";
import { useBankCoreApiContext } from "../../context/config.js";
import { useAccountDetails } from "../../hooks/access.js";
import { useBackendState } from "../../hooks/backend.js";
@@ -48,8 +47,6 @@ import {
import { LoginForm } from "../LoginForm.js";
import { InputAmount, RenderAmount, doAutoFocus } from "../PaytoWireTransferForm.js";
import { assertUnreachable } from "../WithdrawalOperationPage.js";
-import { getRandomPassword, getRandomUsername } from "../rnd.js";
-import { ErrorLoadingWithDebug } from "../../components/ErrorLoadingWithDebug.js";
interface Props {
account: string;