| 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 PostViewPage from '../pages/posts/PostViewPage'
|
12 |
import PostViewPage from '../pages/posts/PostViewPage'
|
| 13 |
import MyCoachPage from '../pages/my-coach/MyCoachPage'
|
13 |
import MyCoachPage from '../pages/my-coach/MyCoachPage'
|
| - |
|
14 |
import MyCoachViewPage from '../pages/my-coach/MyCoachViewPage'
|
| 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 288... |
Línea 289... |
| 288 |
|
289 |
|
| 289 |
<PrivateRoute
|
290 |
<PrivateRoute
|
| 290 |
path="/my-coach/questions/view/:uuid"
|
291 |
path="/my-coach/questions/view/:uuid"
|
| 291 |
isAuthenticated={isAuth}
|
292 |
isAuthenticated={isAuth}
|
| 292 |
>
|
293 |
>
|
| 293 |
<h1>Hello</h1>
|
294 |
<MyCoachViewPage />
|
| 294 |
</PrivateRoute>
|
295 |
</PrivateRoute>
|
| 295 |
<PrivateRoute exact path="/my-coach" isAuthenticated={isAuth}>
|
296 |
<PrivateRoute exact path="/my-coach" isAuthenticated={isAuth}>
|
| 296 |
<MyCoachPage />
|
297 |
<MyCoachPage />
|