diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-06 11:55:15 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-06 11:55:15 -0300 |
commit | fa11663ceeb7d9bec470bbc881274c07086f8a92 (patch) | |
tree | 7f9c515d1a47d95a4b58000dbef05656597c88fe /packages/demobank-ui/src/pages/RegistrationPage.tsx | |
parent | 4ee903eb5e639fa0e122a689cc431e8f18ca1197 (diff) | |
download | wallet-core-fa11663ceeb7d9bec470bbc881274c07086f8a92.tar.xz |
refactor bank to use components from web utils
Diffstat (limited to 'packages/demobank-ui/src/pages/RegistrationPage.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/RegistrationPage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/pages/RegistrationPage.tsx b/packages/demobank-ui/src/pages/RegistrationPage.tsx index e8969afb9..cade4a277 100644 --- a/packages/demobank-ui/src/pages/RegistrationPage.tsx +++ b/packages/demobank-ui/src/pages/RegistrationPage.tsx @@ -26,7 +26,7 @@ import { useBackendState } from "../hooks/backend.js"; import { bankUiSettings } from "../settings.js"; import { undefinedIfEmpty, withRuntimeErrorHandling } from "../utils.js"; import { getRandomPassword, getRandomUsername } from "./rnd.js"; -import { ShowLocalNotification } from "@gnu-taler/web-util/browser"; +import { LocalNotificationBanner } from "@gnu-taler/web-util/browser"; const logger = new Logger("RegistrationPage"); @@ -185,7 +185,7 @@ function RegistrationForm({ onComplete, onCancel }: { onComplete: () => void, on return ( <Fragment> - <ShowLocalNotification notification={notification} /> + <LocalNotificationBanner notification={notification} /> <div class="flex min-h-full flex-col justify-center"> <div class="sm:mx-auto sm:w-full sm:max-w-sm"> |