diff options
author | Sebastian <sebasjm@gmail.com> | 2023-04-13 12:17:50 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-04-13 12:57:38 -0300 |
commit | 2baa42f22346be1a1baafb96ba8b5169da8db83c (patch) | |
tree | 5ca3ec27349eecef23c579f6f368991b3dbebb5f /packages/demobank-ui/src/pages/AccountPage.tsx | |
parent | b567ba4668a5ac034e7227f53b5290195303980c (diff) | |
download | wallet-core-2baa42f22346be1a1baafb96ba8b5169da8db83c.tar.xz |
show warning if bank settings are wrong
Diffstat (limited to 'packages/demobank-ui/src/pages/AccountPage.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/AccountPage.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/demobank-ui/src/pages/AccountPage.tsx b/packages/demobank-ui/src/pages/AccountPage.tsx index bab8cca16..13960a8da 100644 --- a/packages/demobank-ui/src/pages/AccountPage.tsx +++ b/packages/demobank-ui/src/pages/AccountPage.tsx @@ -20,15 +20,13 @@ import { HttpResponsePaginated, useTranslationContext, } from "@gnu-taler/web-util/lib/index.browser"; -import { Fragment, h, VNode } from "preact"; -import { Loading } from "../components/Loading.js"; +import { Fragment, VNode, h } from "preact"; import { Transactions } from "../components/Transactions/index.js"; -import { PageStateType, notifyError } from "../context/pageState.js"; +import { useBackendContext } from "../context/backend.js"; +import { notifyError } from "../context/pageState.js"; import { useAccountDetails } from "../hooks/access.js"; import { LoginForm } from "./LoginForm.js"; import { PaymentOptions } from "./PaymentOptions.js"; -import { StateUpdater } from "preact/hooks"; -import { useBackendContext } from "../context/backend.js"; interface Props { account: string; |