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 MyProfilesPage from '../pages/profiles/MyProfilesPage'
|
11 |
import MyProfilesPage from '../pages/profiles/MyProfilesPage'
|
12 |
import PeopleViewedMyProfilePage from '../pages/profiles/PeopleViewedMyProfilePage'
|
12 |
import PeopleViewedMyProfilePage from '../pages/profiles/PeopleViewedMyProfilePage'
|
13 |
import SavedJobsPage from '../pages/jobs/SavedJobsPage'
|
13 |
import SavedJobsPage from '../pages/jobs/SavedJobsPage'
|
- |
|
14 |
import AppliedJobsPage from '../pages/jobs/AppliedJobsPage'
|
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 118... |
Línea 119... |
118 |
</PrivateRoute>
|
119 |
</PrivateRoute>
|
119 |
<PrivateRoute exact path="/job/saved-jobs" isAuthenticated={isAuth}>
|
120 |
<PrivateRoute exact path="/job/saved-jobs" isAuthenticated={isAuth}>
|
120 |
<SavedJobsPage />
|
121 |
<SavedJobsPage />
|
121 |
</PrivateRoute>
|
122 |
</PrivateRoute>
|
122 |
<PrivateRoute exact path="/job/applied-jobs" isAuthenticated={isAuth}>
|
123 |
<PrivateRoute exact path="/job/applied-jobs" isAuthenticated={isAuth}>
|
123 |
<PeopleBlockedPage />
|
124 |
<AppliedJobsPage />
|
124 |
</PrivateRoute>
|
125 |
</PrivateRoute>
|
Línea 125... |
Línea 126... |
125 |
|
126 |
|
126 |
<PublicRoute path="/" isAuthenticated={isAuth}>
|
127 |
<PublicRoute path="/" isAuthenticated={isAuth}>
|
127 |
<Auth />
|
128 |
<Auth />
|