diff options
author | Christian Blättler <blatc2@bfh.ch> | 2024-05-22 21:13:03 +0200 |
---|---|---|
committer | Christian Blättler <blatc2@bfh.ch> | 2024-05-22 21:13:03 +0200 |
commit | 9d0fc80a905e02a0a0b63dd547daac6e7b17fb52 (patch) | |
tree | 0b58b1df4342d8edb60afe9b021c4d18ef3eb1a6 /packages/merchant-backoffice-ui | |
parent | 635d710203bd88843ba16bbee7ab43ad02d295ca (diff) | |
download | wallet-core-9d0fc80a905e02a0a0b63dd547daac6e7b17fb52.tar.xz |
remove unused
Diffstat (limited to 'packages/merchant-backoffice-ui')
-rw-r--r-- | packages/merchant-backoffice-ui/src/Routing.tsx | 6 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/list/index.tsx | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/packages/merchant-backoffice-ui/src/Routing.tsx b/packages/merchant-backoffice-ui/src/Routing.tsx index 8ccd559b9..4ffad2d6d 100644 --- a/packages/merchant-backoffice-ui/src/Routing.tsx +++ b/packages/merchant-backoffice-ui/src/Routing.tsx @@ -485,28 +485,22 @@ export function Routing(_p: Props): VNode { <Route path={InstancePaths.token_family_list} component={TokenFamilyListPage} - // onUnauthorized={LoginPageAccessDenied} - // onLoadError={ServerErrorRedirectTo(InstancePaths.settings)} onCreate={() => { route(InstancePaths.token_family_new); }} onSelect={(slug: string) => { route(InstancePaths.token_family_update.replace(":slug", slug)); }} - // onNotFound={IfAdminCreateDefaultOr(NotFoundPage)} /> <Route path={InstancePaths.token_family_update} component={TokenFamilyUpdatePage} - // onUnauthorized={LoginPageAccessDenied} - // onLoadError={ServerErrorRedirectTo(InstancePaths.token_family_list)} onConfirm={() => { route(InstancePaths.token_family_list); }} onBack={() => { route(InstancePaths.token_family_list); }} - // onNotFound={IfAdminCreateDefaultOr(NotFoundPage)} /> <Route path={InstancePaths.token_family_new} diff --git a/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/list/index.tsx index 5531174e0..006c2a49c 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/list/index.tsx @@ -49,11 +49,8 @@ interface Props { onLoadError: (e: HttpError<MerchantBackend.ErrorDetail>) => VNode; } export default function TokenFamilyList({ - onUnauthorized, - onLoadError, onCreate, onSelect, - onNotFound, }: Props): VNode { const result = useInstanceTokenFamilies(); const [notif, setNotif] = useState<Notification | undefined>(undefined); |