diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-23 08:30:43 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-23 08:30:43 -0300 |
commit | 73e36c99037cef1ccc43bb80b67b19e0f44326fd (patch) | |
tree | c076b0084a3fb5004b8f3ffa32cc09a9b1a42d22 /packages/demobank-ui/src/pages/BankFrame.tsx | |
parent | 271488f041890391e1c6d946fd1aef00c2113fd0 (diff) | |
download | wallet-core-73e36c99037cef1ccc43bb80b67b19e0f44326fd.tar.xz |
return to form after 2fa cancelled
Diffstat (limited to 'packages/demobank-ui/src/pages/BankFrame.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/BankFrame.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/pages/BankFrame.tsx b/packages/demobank-ui/src/pages/BankFrame.tsx index 266eab636..436076ba4 100644 --- a/packages/demobank-ui/src/pages/BankFrame.tsx +++ b/packages/demobank-ui/src/pages/BankFrame.tsx @@ -36,8 +36,8 @@ import { getLabelForPreferences, usePreferences, } from "../hooks/preferences.js"; -import { RenderAmount } from "./PaytoWireTransferForm.js"; import { RouteDefinition } from "../route.js"; +import { RenderAmount } from "./PaytoWireTransferForm.js"; const GIT_HASH = typeof __GIT_HASH__ !== "undefined" ? __GIT_HASH__ : undefined; const VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : undefined; @@ -48,7 +48,7 @@ export function BankFrame({ routeAccountDetails, }: { account?: string; - routeAccountDetails?: RouteDefinition<Record<string, never>>; + routeAccountDetails?: RouteDefinition; children: ComponentChildren; }): VNode { const { i18n } = useTranslationContext(); @@ -179,7 +179,7 @@ export function BankFrame({ function WelcomeAccount({ account, routeAccountDetails }: { account: string, - routeAccountDetails: RouteDefinition<Record<string, never>>; + routeAccountDetails: RouteDefinition; }): VNode { const { i18n } = useTranslationContext(); const result = useAccountDetails(account); |