Ignore:
Timestamp:
06/10/24 22:34:32 (5 months ago)
Author:
223021 <daniel.ilievski.2@…>
Branches:
main
Children:
befb988
Parents:
28b3398
Message:

Added no access page for new recruiters and admin panel for granting access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jobvista-frontend/src/auth/RoutesConfig.js

    r28b3398 rb248810  
    99import {ApplicationsByJobAd} from "../views/applications/ApplicationsByJobAd";
    1010import {ApplicationsByJobSeeker} from "../views/applications/ApplicationsByJobSeeker";
     11import {useEffect, useState} from "react";
     12import {AUTH_TOKEN} from "../axios/axiosInstance";
     13import {jwtDecode} from "jwt-decode";
     14import {useSelector} from "react-redux";
     15import {AdminPanel} from "../views/admin_panel/AdminPanel";
    1116export const RoutesConfig = () => {
    1217
     
    2126                <Route path="/job-advertisements/:id" element={<JobAdDetails/>}></Route>
    2227                <Route path="/my-job-advertisements/:advertisement_id/applications" element={<ApplicationsByJobAd/>}></Route>
     28                <Route path="/admin-panel" element={<AdminPanel/>}></Route>
    2329            </Routes>
    2430    )
Note: See TracChangeset for help on using the changeset viewer.