| Línea 7... |
Línea 7... |
| 7 |
import PublicRoute from './PublicRoute'
|
7 |
import PublicRoute from './PublicRoute'
|
| 8 |
import PrivateRoute from './PrivateRoute'
|
8 |
import PrivateRoute from './PrivateRoute'
|
| 9 |
import Spinner from '../components/UI/Spinner'
|
9 |
import Spinner from '../components/UI/Spinner'
|
| 10 |
import NotificationAlert from '../components/UI/notification/NotificationAlert'
|
10 |
import NotificationAlert from '../components/UI/notification/NotificationAlert'
|
| 11 |
import LoaderContainer from '../components/UI/LoaderContainer'
|
11 |
import LoaderContainer from '../components/UI/LoaderContainer'
|
| 12 |
import NotificationsPage from '../pages/notifications/NotificationsPage'
|
- |
|
| 13 |
import SearchPage from '../pages/search/SearchPage'
|
- |
|
| 14 |
import KnowledgeAreaPage from '../pages/knowledge-area/KnowledgeAreaPage'
|
- |
|
| 15 |
import KnowledgeViewPage from '../pages/knowledge-area/KnowledgeViewPage'
|
- |
|
| Línea 16... |
Línea 12... |
| 16 |
|
12 |
|
| 17 |
const Header = lazy(() => import('../components/navbar/Header'))
|
13 |
const Header = lazy(() => import('../components/navbar/Header'))
|
| 18 |
const Auth = lazy(() => import('../pages/auth/Auth'))
|
14 |
const Auth = lazy(() => import('../pages/auth/Auth'))
|
| 19 |
const DashboardPage = lazy(() => import('../pages/dashboard/DashboardPage'))
|
15 |
const DashboardPage = lazy(() => import('../pages/dashboard/DashboardPage'))
|
| Línea 67... |
Línea 63... |
| 67 |
const ChatPage = lazy(() => import('../pages/chat/ChatPage'))
|
63 |
const ChatPage = lazy(() => import('../pages/chat/ChatPage'))
|
| 68 |
const InmailPage = lazy(() => import('../pages/inmail/InmailPage'))
|
64 |
const InmailPage = lazy(() => import('../pages/inmail/InmailPage'))
|
| 69 |
const MarketPlacePage = lazy(() =>
|
65 |
const MarketPlacePage = lazy(() =>
|
| 70 |
import('../pages/marketplace/MarketplacePage')
|
66 |
import('../pages/marketplace/MarketplacePage')
|
| 71 |
)
|
67 |
)
|
| - |
|
68 |
const NotificationsPage = lazy(() =>
|
| - |
|
69 |
import('../pages/notifications/NotificationsPage')
|
| - |
|
70 |
)
|
| - |
|
71 |
const SearchPage = lazy(() => import('../pages/search/SearchPage'))
|
| - |
|
72 |
const KnowledgeAreaPage = lazy(() =>
|
| - |
|
73 |
import('../pages/knowledge-area/KnowledgeAreaPage')
|
| - |
|
74 |
)
|
| - |
|
75 |
const KnowledgeViewPage = lazy(() =>
|
| - |
|
76 |
import('../pages/knowledge-area/KnowledgeViewPage')
|
| - |
|
77 |
)
|
| Línea 72... |
Línea 78... |
| 72 |
|
78 |
|
| 73 |
const AppRouter = () => {
|
79 |
const AppRouter = () => {
|
| 74 |
const { isAuth, theme_id } = useSelector(({ auth }) => auth)
|
80 |
const { isAuth, theme_id } = useSelector(({ auth }) => auth)
|