Skip to content

Commit

Permalink
[SBRP-101] Clean HR test page
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoksim committed Nov 1, 2023
1 parent 23fb8e3 commit 9c6c78d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
3 changes: 0 additions & 3 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {getStaffSkillsByStaffId} from "./actions/staffSkills";
import {getApplicationsByStaffId} from "./actions/applications";
import Profile from './components/pages/Profile';
import Restricted from "./components/pages/Restricted";
import HR from "./components/pages/HR";
import RoleApplicants from './components/pages/RoleApplicants';
import StaffDetail from './components/pages/StaffDetail';
import RoleListingManager from './components/pages/RoleListingManager';
Expand Down Expand Up @@ -61,7 +60,6 @@ const App = ({getStaffSkillsByStaffId, getApplicationsByStaffId, auth: {user, is
<Route path="/roleListing" element={<RoleListing/>}/>
<Route path="/roleListing/:rl_id" element={<RolePage/>}/>
<Route path="/profile" element={<Profile/>}/>
<Route path="/hr" element={<HR/>}/>
<Route path="/roleListing/:roleListingId/applicants" element={<RoleApplicants/>}/>
<Route path="/staff/:staffId" element={<StaffDetail/>}/>
<Route path="/listingManage" element={<RoleListingManager/>}/>
Expand All @@ -75,7 +73,6 @@ const App = ({getStaffSkillsByStaffId, getApplicationsByStaffId, auth: {user, is
<Route path="/roleListing" element={<RoleListing/>}/>
<Route path="/roleListing/:rl_id" element={<RolePage/>}/>
<Route path="/profile" element={<Profile/>}/>
<Route path="/hr" element={<Restricted/>}/>
<Route path="/roleListing/:roleListingId/applicants" element={<Restricted/>}/>
<Route path="/staff/:staffId" element={<Restricted/>}/>
<Route path="/listingManage" element={<Restricted/>}/>
Expand Down
4 changes: 0 additions & 4 deletions client/src/components/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ const Sidebar = ({logout, auth: {isHR}}: any) => {
];

if (isHR) {
items.push({
label: (<Link to={"/hr"}>{"HR"}</Link>),
key: '/hr',
});
items.push({
label: (<Link to={"/listingManage"}>{"Role Listing Management"}</Link>),
key: 'listingManage',
Expand Down
13 changes: 0 additions & 13 deletions client/src/components/pages/HR.tsx

This file was deleted.

0 comments on commit 9c6c78d

Please sign in to comment.