From 73e36c99037cef1ccc43bb80b67b19e0f44326fd Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 23 Feb 2024 08:30:43 -0300 Subject: return to form after 2fa cancelled --- packages/demobank-ui/src/pages/WalletWithdrawForm.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/demobank-ui/src/pages/WalletWithdrawForm.tsx') 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>; + 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>; + 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} /> -- cgit v1.2.3