diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-05 16:23:09 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-05 16:23:09 -0300 |
commit | 46aa042f9acb940660f7a53b4824b1d6fb2ad8b3 (patch) | |
tree | e8b03acb195a2161aa0a0e68435b07de352a4477 /packages/demobank-ui/src/pages/account/CashoutListForAccount.tsx | |
parent | f68585db5f9ba0f760e22dada474fd7ec2847796 (diff) | |
download | wallet-core-46aa042f9acb940660f7a53b4824b1d6fb2ad8b3.tar.gz wallet-core-46aa042f9acb940660f7a53b4824b1d6fb2ad8b3.tar.bz2 wallet-core-46aa042f9acb940660f7a53b4824b1d6fb2ad8b3.zip |
fixes #8294
Diffstat (limited to 'packages/demobank-ui/src/pages/account/CashoutListForAccount.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/account/CashoutListForAccount.tsx | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/packages/demobank-ui/src/pages/account/CashoutListForAccount.tsx b/packages/demobank-ui/src/pages/account/CashoutListForAccount.tsx index 670bbaea0..656c2a52a 100644 --- a/packages/demobank-ui/src/pages/account/CashoutListForAccount.tsx +++ b/packages/demobank-ui/src/pages/account/CashoutListForAccount.tsx @@ -26,12 +26,20 @@ interface Props { routeClose: RouteDefinition<Record<string, never>>; onAuthorizationRequired: () => void; routeCashoutDetails: RouteDefinition<{ cid: string }>; + routeMyAccountDetails: RouteDefinition<Record<string, never>>; + routeMyAccountDelete: RouteDefinition<Record<string, never>>; + routeMyAccountPassword: RouteDefinition<Record<string, never>>; + routeMyAccountCashout: RouteDefinition<Record<string, never>>; } export function CashoutListForAccount({ account, onAuthorizationRequired, routeCashoutDetails, + routeMyAccountCashout, + routeMyAccountDelete, + routeMyAccountDetails, + routeMyAccountPassword, routeClose, }: Props): VNode { const { i18n } = useTranslationContext(); @@ -46,7 +54,12 @@ export function CashoutListForAccount({ return ( <Fragment> {accountIsTheCurrentUser ? ( - <ProfileNavigation current="cashouts" /> + <ProfileNavigation current="cashouts" + routeMyAccountCashout={routeMyAccountCashout} + routeMyAccountDelete={routeMyAccountDelete} + routeMyAccountDetails={routeMyAccountDetails} + routeMyAccountPassword={routeMyAccountPassword} + /> ) : ( <h1 class="text-base font-semibold leading-6 text-gray-900"> <i18n.Translate>Cashout for account {account}</i18n.Translate> |