| Línea 9... |
Línea 9... |
| 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'
|
12 |
import NotificationsPage from '../pages/notifications/NotificationsPage'
|
| 13 |
import SearchPage from '../pages/search/SearchPage'
|
13 |
import SearchPage from '../pages/search/SearchPage'
|
| - |
|
14 |
import KnowledgeAreaPage from '../pages/knowledge-area/KnowledgeAreaPage'
|
| Línea 14... |
Línea 15... |
| 14 |
|
15 |
|
| 15 |
const Header = lazy(() => import('../components/navbar/Header'))
|
16 |
const Header = lazy(() => import('../components/navbar/Header'))
|
| 16 |
const Auth = lazy(() => import('../pages/auth/Auth'))
|
17 |
const Auth = lazy(() => import('../pages/auth/Auth'))
|
| 17 |
const DashboardPage = lazy(() => import('../pages/dashboard/DashboardPage'))
|
18 |
const DashboardPage = lazy(() => import('../pages/dashboard/DashboardPage'))
|
| Línea 260... |
Línea 261... |
| 260 |
</PrivateRoute>
|
261 |
</PrivateRoute>
|
| 261 |
<PrivateRoute path="/search" isAuthenticated={isAuth}>
|
262 |
<PrivateRoute path="/search" isAuthenticated={isAuth}>
|
| 262 |
<SearchPage />
|
263 |
<SearchPage />
|
| 263 |
</PrivateRoute>
|
264 |
</PrivateRoute>
|
| Línea -... |
Línea 265... |
| - |
|
265 |
|
| - |
|
266 |
<PrivateRoute path="/knowledge-area" isAuthenticated={isAuth}>
|
| - |
|
267 |
<KnowledgeAreaPage />
|
| - |
|
268 |
</PrivateRoute>
|
| 264 |
|
269 |
|
| 265 |
<PublicRoute path="/" isAuthenticated={isAuth}>
|
270 |
<PublicRoute path="/" isAuthenticated={isAuth}>
|
| 266 |
<Auth />
|
271 |
<Auth />
|
| 267 |
</PublicRoute>
|
272 |
</PublicRoute>
|
| 268 |
</Switch>
|
273 |
</Switch>
|