MSP-3174 add Route in Routers
This commit is contained in:
1 parent
2977dfdce7
commit
5a16c69e54
1 file changed
+9
@@ -14,6 +14,7 @@ const ErrorPage = lazy(() => import('@components/ErrorPage'))
|
||||
const ProfilePage = lazy(() => import('@pages/ProfilePage'))
|
||||
const UsersPage = lazy(() => import('@pages/UsersPage'))
|
||||
const UserEditor = lazy(() => import('src/pages/UserEditor'))
|
||||
const SecurityLogPage = lazy(() => import('@pages/SecurityLogPage'))
|
||||
const AppAccessPage = lazy(() => import('@pages/AppAccessPage'))
|
||||
|
||||
const Routers = () => {
|
||||
@@ -70,6 +71,14 @@ const Routers = () => {
|
||||
}
|
||||
/>
|
||||
</Route>
|
||||
<Route
|
||||
path={routePaths.securityLog}
|
||||
element={
|
||||
<Suspense fallback={<Spin />}>
|
||||
<SecurityLogPage />
|
||||
</Suspense>
|
||||
}
|
||||
/>
|
||||
</Route>
|
||||
</Route>
|
||||
<Route
|
||||
|
||||
Reference in new issue
Block a user