Skip to content

Commit

Permalink
feat(web): drop not needed route
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Jun 21, 2024
1 parent 1fb2b4a commit 2cb4f35
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions web/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import App from "~/App";
import Protected from "~/Protected";
import MainLayout from "~/MainLayout";
import SimpleLayout from "./SimpleLayout";
import { LoginPage, Page, Terminal } from "~/components/core";
import { LoginPage } from "~/components/core";
import { OverviewPage } from "~/components/overview";
import { _ } from "~/i18n";
import overviewRoutes from "~/components/overview/routes";
Expand All @@ -45,17 +45,6 @@ const rootRoutes = [
usersRoutes
];

const terminal_route = {
path: "/terminal",
element: <Page />,
children: [
{
index: true,
element: <Terminal />
}
]
};

const protectedRoutes = [
{
path: "/",
Expand All @@ -73,7 +62,7 @@ const protectedRoutes = [
},
{
element: <SimpleLayout />,
children: [productsRoute, terminal_route]
children: [productsRoute]
}
]
}
Expand Down

0 comments on commit 2cb4f35

Please sign in to comment.