Profile Admin
This commit is contained in:
@@ -8,7 +8,6 @@ import LoadingScreen from '../components/LoadingScreen';
|
||||
import GuestGuard from '../guards/GuestGuard';
|
||||
import { RegisterForm } from '../sections/auth/register';
|
||||
import Register from '../pages/auth/Register';
|
||||
import ResetPassword from '../pages/auth/ResetPassword';
|
||||
import VerifyCode from '../pages/auth/VerifyCode';
|
||||
import { AuthProvider } from '../contexts/LaravelAuthContext';
|
||||
import AuthGuard from '../guards/AuthGuard';
|
||||
@@ -53,7 +52,7 @@ export default function Router() {
|
||||
},
|
||||
// { path: 'login-unprotected', element: <Login /> },
|
||||
// { path: 'register-unprotected', element: <Register /> },
|
||||
// { path: 'reset-password', element: <ResetPassword /> },
|
||||
{ path: 'reset-password', element: <ResetPassword /> },
|
||||
// { path: 'verify', element: <VerifyCode /> },
|
||||
],
|
||||
},
|
||||
@@ -229,6 +228,10 @@ export default function Router() {
|
||||
path: 'claims/:id',
|
||||
element: <ClaimsCreate />,
|
||||
},
|
||||
{
|
||||
path: 'profile',
|
||||
element: <Profile />,
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
@@ -265,6 +268,7 @@ export default function Router() {
|
||||
}
|
||||
|
||||
const Login = Loadable(lazy(() => import('../pages/auth/Login')));
|
||||
const ResetPassword = Loadable(lazy(() => import('../pages/auth/ResetPassword')));
|
||||
|
||||
// Dashboard
|
||||
const Dashboard = Loadable(lazy(() => import('../pages/Dashboard')));
|
||||
@@ -329,5 +333,7 @@ const CorporateClaimHistories = Loadable(
|
||||
lazy(() => import('../pages/Corporates/ClaimHistory/Index'))
|
||||
);
|
||||
|
||||
const Profile = Loadable(lazy(() => import('../pages/Profile/Index')));
|
||||
|
||||
const Claims = Loadable(lazy(() => import('../pages/Claims/Index')));
|
||||
const ClaimsCreate = Loadable(lazy(() => import('../pages/Claims/CreateUpdate')));
|
||||
|
||||
Reference in New Issue
Block a user