ソースを参照

Fix: undefined route component

AH-dark 2 年 前
コミット
8e25538ed4
1 ファイル変更4 行追加7 行削除
  1. 4 7
      src/routes/LoginRoutes.tsx

+ 4 - 7
src/routes/LoginRoutes.tsx

@@ -10,9 +10,6 @@ import Loadable from "@/components/Loadable";
 const AuthLogin = Loadable(lazy(() => import("@/pages/auth/login")));
 const AuthRegister = Loadable(lazy(() => import("@/pages/auth/register")));
 const AuthForgotPassword = Loadable(lazy(() => import("@/pages/auth/forgot-password")));
-const AuthCheckMail = Loadable(lazy(() => import("@/pages/auth/check-mail")));
-const AuthResetPassword = Loadable(lazy(() => import("@/pages/auth/reset-password")));
-const AuthCodeVerification = Loadable(lazy(() => import("@/pages/auth/code-verification")));
 
 // ==============================|| AUTH ROUTING ||============================== //
 
@@ -42,12 +39,12 @@ const LoginRoutes: RouteObject = {
         {
           path: "forgot-password",
           element: <AuthForgotPassword />
-        },
-        {
-          path: "reset-password",
-          element: <AuthResetPassword />
         }
         // {
+        //   path: "reset-password",
+        //   element: <AuthResetPassword />
+        // }
+        // {
         //   path: "check-mail",
         //   element: <AuthCheckMail />
         // },