summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/Router/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/Router/index.tsx')
-rw-r--r--frontend/src/Router/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/Router/index.tsx b/frontend/src/Router/index.tsx
index e6c4b37fb..41de5fec2 100644
--- a/frontend/src/Router/index.tsx
+++ b/frontend/src/Router/index.tsx
@@ -49,6 +49,7 @@ import {
} from "react";
import { BrowserRouter } from "react-router-dom";
import Redirector from "./Redirector";
+import { RouterNames } from "./RouterNames";
import { CustomRouteObject } from "./type";
const HistoryStats = lazy(() => import("@/pages/History/Statistics"));
@@ -285,7 +286,7 @@ function useRoutes(): CustomRouteObject[] {
],
},
{
- path: "/login",
+ path: RouterNames.Auth,
hidden: true,
element: <Authentication></Authentication>,
},