aboutsummaryrefslogtreecommitdiff
path: root/packages/auditor-backoffice-ui/src
diff options
context:
space:
mode:
authorChristian Blättler <blatc2@bfh.ch>2024-05-07 18:11:47 +0200
committerChristian Blättler <blatc2@bfh.ch>2024-05-07 18:11:47 +0200
commit7b3157df9746d12f712e6a4604eccc8ed6b7d0c3 (patch)
tree9ae8e231bcf17bc29b4bb0f506d1b4385958b8df /packages/auditor-backoffice-ui/src
parent8d1ce9dae1fd94204c142ac599b498bec9680b6c (diff)
downloadwallet-core-7b3157df9746d12f712e6a4604eccc8ed6b7d0c3.tar.xz
remove routes that accidentally landed in the auditor backoffice ui
Diffstat (limited to 'packages/auditor-backoffice-ui/src')
-rw-r--r--packages/auditor-backoffice-ui/src/InstanceRoutes.tsx47
1 files changed, 0 insertions, 47 deletions
diff --git a/packages/auditor-backoffice-ui/src/InstanceRoutes.tsx b/packages/auditor-backoffice-ui/src/InstanceRoutes.tsx
index 16b891ef5..c661fb900 100644
--- a/packages/auditor-backoffice-ui/src/InstanceRoutes.tsx
+++ b/packages/auditor-backoffice-ui/src/InstanceRoutes.tsx
@@ -69,10 +69,6 @@ import ValidatorCreatePage from "./paths/instance/otp_devices/create/index.js";
import ValidatorListPage from "./paths/instance/otp_devices/list/index.js";
import ValidatorUpdatePage from "./paths/instance/otp_devices/update/index.js";
-import TokenFamilyCreatePage from "./paths/instance/tokenfamilies/create/index.js";
-import TokenFamilyListPage from "./paths/instance/tokenfamilies/list/index.js";
-import TokenFamilyUpdatePage from "./paths/instance/tokenfamilies/update/index.js";
-
import TransferCreatePage from "./paths/instance/transfers/create/index.js";
import TransferListPage from "./paths/instance/transfers/list/index.js";
import InstanceUpdatePage, {
@@ -99,10 +95,6 @@ export enum InstancePaths {
deposit_confirmation_update = "/deposit-confirmation/:pid/update",
deposit_confirmation_new = "/deposit-confirmation/new",
- token_family_list = "/tokenfamilies",
- token_family_update = "/tokenfamilies/:slug/update",
- token_family_new = "/tokenfamilies/new",
-
interface = "/interface",
}
@@ -438,45 +430,6 @@ export function InstanceRoutes({
route(InstancePaths.transfers_list);
}}
/>
- {/* *
- * Token family pages
- */}
- <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}
- component={TokenFamilyCreatePage}
- onConfirm={() => {
- route(InstancePaths.token_family_list);
- }}
- onBack={() => {
- route(InstancePaths.token_family_list);
- }}
- />
{/**
* Webhooks pages
*/}