diff options
Diffstat (limited to 'packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx b/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx index 4dcce599d..3ce9b1094 100644 --- a/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx +++ b/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx @@ -41,9 +41,17 @@ export function UpdateAccountPassword({ routeClose, onUpdateSuccess, onAuthorizationRequired, + routeMyAccountCashout, + routeMyAccountDelete, + routeMyAccountDetails, + routeMyAccountPassword, focus, }: { routeClose: RouteDefinition<Record<string, never>>; + routeMyAccountDetails: RouteDefinition<Record<string, never>>; + routeMyAccountDelete: RouteDefinition<Record<string, never>>; + routeMyAccountPassword: RouteDefinition<Record<string, never>>; + routeMyAccountCashout: RouteDefinition<Record<string, never>>; focus?: boolean; onAuthorizationRequired: () => void; onUpdateSuccess: () => void; @@ -136,7 +144,12 @@ export function UpdateAccountPassword({ <Fragment> <LocalNotificationBanner notification={notification} /> {accountIsTheCurrentUser ? ( - <ProfileNavigation current="credentials" /> + <ProfileNavigation current="credentials" + routeMyAccountCashout={routeMyAccountCashout} + routeMyAccountDelete={routeMyAccountDelete} + routeMyAccountDetails={routeMyAccountDetails} + routeMyAccountPassword={routeMyAccountPassword} + /> ) : ( <h1 class="text-base font-semibold leading-6 text-gray-900"> <i18n.Translate>Account "{accountName}"</i18n.Translate> |