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/WalletWithdrawForm.tsx | |
parent | 271488f041890391e1c6d946fd1aef00c2113fd0 (diff) | |
download | wallet-core-73e36c99037cef1ccc43bb80b67b19e0f44326fd.tar.gz wallet-core-73e36c99037cef1ccc43bb80b67b19e0f44326fd.tar.bz2 wallet-core-73e36c99037cef1ccc43bb80b67b19e0f44326fd.zip |
return to form after 2fa cancelled
Diffstat (limited to 'packages/demobank-ui/src/pages/WalletWithdrawForm.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/WalletWithdrawForm.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx index ecb3eb4fc..078f4e5f5 100644 --- a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx +++ b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx @@ -54,7 +54,7 @@ function OldWithdrawalForm({ focus?: boolean; routeOperationDetails: RouteDefinition<{ wopid: string }>, onOperationCreated: (wopid: string) => void; - routeCancel: RouteDefinition<Record<string, never>>; + routeCancel: RouteDefinition; }): VNode { const { i18n } = useTranslationContext(); const [settings] = usePreferences(); @@ -300,7 +300,7 @@ export function WalletWithdrawForm({ onAuthorizationRequired: () => void; onOperationCreated: (wopid: string) => void; onOperationAborted: () => void; - routeCancel: RouteDefinition<Record<string, never>>; + routeCancel: RouteDefinition; }): VNode { const { i18n } = useTranslationContext(); const [settings, updateSettings] = usePreferences(); @@ -355,6 +355,7 @@ export function WalletWithdrawForm({ currency={limit.currency} onAuthorizationRequired={onAuthorizationRequired} routeClose={routeCancel} + routeHere={routeOperationDetails} onAbort={onOperationAborted} // route={routeCancel} /> |