From 87e2985bdb953cb75add770271930a890119a70a Mon Sep 17 00:00:00 2001
From: Nikita Belous <88971585+WhiteNik16@users.noreply.github.com>
Date: Mon, 5 Feb 2024 18:08:31 +0200
Subject: [PATCH] Disable orgs route (#39)
feat: disable orgs route
---
src/common/AppNavbar.tsx | 1 -
src/routes.tsx | 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/common/AppNavbar.tsx b/src/common/AppNavbar.tsx
index f1981d51..bca39823 100644
--- a/src/common/AppNavbar.tsx
+++ b/src/common/AppNavbar.tsx
@@ -55,7 +55,6 @@ const AppNavbar = () => {
const navbarItems = useMemo(
() => [
{ route: RoutePaths.Profiles, iconComponent: },
- { route: RoutePaths.Orgs, iconComponent: },
{
route: RoutePaths.Credentials,
iconComponent: ,
diff --git a/src/routes.tsx b/src/routes.tsx
index 7c69d0c9..a901aec4 100644
--- a/src/routes.tsx
+++ b/src/routes.tsx
@@ -17,7 +17,6 @@ import PublicLayout from './layouts/PublicLayout'
export const AppRoutes = () => {
const SignIn = lazy(() => import('@/pages/SignIn'))
- const Orgs = lazy(() => import('@/pages/Orgs'))
const Credentials = lazy(() => import('@/pages/Credentials'))
const Profiles = lazy(() => import('@/pages/Profiles'))
const UiKit = lazy(() => import('@/pages/UiKit'))
@@ -77,7 +76,7 @@ export const AppRoutes = () => {
},
{
path: createDeepPath(RoutePaths.Orgs),
- element: ,
+ element: ,
},
{
path: createDeepPath(RoutePaths.Credentials),