diff options
-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); |