diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-26 14:31:08 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-26 14:31:08 -0300 |
commit | ce251b9bd38eccaca9dd43efdcf7ecf9a6a66b29 (patch) | |
tree | 7897c066937f314e9221404dc83c4178dd80bb0c /packages/bank-ui/src/pages/RegistrationPage.tsx | |
parent | dbe5a5e5ee646b0d6824bc461c95f3c8c1572ced (diff) | |
download | wallet-core-ce251b9bd38eccaca9dd43efdcf7ecf9a6a66b29.tar.xz |
show error like bank
Diffstat (limited to 'packages/bank-ui/src/pages/RegistrationPage.tsx')
-rw-r--r-- | packages/bank-ui/src/pages/RegistrationPage.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/bank-ui/src/pages/RegistrationPage.tsx b/packages/bank-ui/src/pages/RegistrationPage.tsx index 18f926e00..5dd19a63f 100644 --- a/packages/bank-ui/src/pages/RegistrationPage.tsx +++ b/packages/bank-ui/src/pages/RegistrationPage.tsx @@ -14,21 +14,20 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ import { - AccessToken, HttpStatusCode, - TalerErrorCode, + TalerErrorCode } from "@gnu-taler/taler-util"; import { LocalNotificationBanner, + RouteDefinition, ShowInputErrorLabel, + useBankCoreApiContext, useLocalNotification, useTranslationContext, } from "@gnu-taler/web-util/browser"; import { Fragment, VNode, h } from "preact"; import { useState } from "preact/hooks"; -import { useBankCoreApiContext } from "@gnu-taler/web-util/browser"; import { useSettingsContext } from "../context/settings.js"; -import { RouteDefinition } from "@gnu-taler/web-util/browser"; import { undefinedIfEmpty } from "../utils.js"; import { getRandomPassword, getRandomUsername } from "./rnd.js"; |