Skip to content

Commit efe2c86

Browse files
committed
fix duplicate links
1 parent 15c93d9 commit efe2c86

File tree

2 files changed

+3
-61
lines changed

2 files changed

+3
-61
lines changed

src/components/sidebar/sidebarItems.tsx

Lines changed: 2 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable */
12
import React from 'react';
23
import { Icon } from '@iconify/react';
34

@@ -7,11 +8,6 @@ export const sidebarItems1 = [
78
icon: <Icon icon="fontisto:pie-chart-1"></Icon>,
89
title: 'Dashboard',
910
},
10-
{
11-
path: '/organisations',
12-
icon: <Icon icon="fluent:people-team-20-filled"></Icon>,
13-
title: 'Organisations',
14-
},
1511
{
1612
path: '/roles',
1713
icon: <Icon icon="fluent:people-team-20-filled"></Icon>,
@@ -27,16 +23,6 @@ export const sidebarItems1 = [
2723
icon: <Icon icon="ic:round-maps-home-work"></Icon>,
2824
title: 'View Job Post',
2925
},
30-
{
31-
path: '/admins',
32-
icon: <Icon icon="ic:round-people"></Icon>,
33-
title: 'Admins',
34-
},
35-
{
36-
path: '/domains',
37-
icon: <Icon icon="akar-icons:globe"></Icon>,
38-
title: 'Domains',
39-
},
4026
{
4127
path: "/create-form",
4228
icon: <Icon icon="fluent:form-28-regular"></Icon>,
@@ -47,31 +33,6 @@ export const sidebarItems1 = [
4733
icon: <Icon icon="akar-icons:globe"></Icon>,
4834
title: "Applications",
4935
},
50-
{
51-
path: '/Trainee-applicants',
52-
icon: <Icon icon="ic:round-people"></Icon>,
53-
title: 'Trainees-Applicants',
54-
},
55-
{
56-
path: '/attendance',
57-
icon: <Icon icon="teenyicons:clipboard-tick-solid"></Icon>,
58-
title: 'Attendance',
59-
},
60-
{
61-
path: '/performance',
62-
icon: <Icon icon="fa6-solid:arrow-trend-up"></Icon>,
63-
title: 'Performance',
64-
},
65-
{
66-
path: '/sessions',
67-
icon: <Icon icon="fluent:clipboard-bullet-list-ltr-16-filled"></Icon>,
68-
title: 'Sessions',
69-
},
70-
{
71-
path: '/coordinators',
72-
icon: <Icon icon="fluent:people-team-20-filled"></Icon>,
73-
title: 'Coordinators',
74-
},
7536
{
7637
path: '/cohort',
7738
icon: <Icon icon="fa6-solid:graduation-cap"></Icon>,
@@ -82,36 +43,17 @@ export const sidebarItems1 = [
8243
icon: <Icon icon="game-icons:cycle"></Icon>,
8344
title: 'Application Cycles',
8445
},
85-
{
86-
path: '/updatedRatings',
87-
icon: <Icon icon="charm:refresh"></Icon>,
88-
title: 'Updated Ratings',
89-
},
46+
9047
{
9148
path: '/grading',
9249
icon: <Icon icon="bxs:dashboard"></Icon>,
9350
title: 'Grading System',
9451
},
95-
{
96-
path: '/rolesandaccess',
97-
icon: <Icon icon="heroicons:key-20-solid"></Icon>,
98-
title: 'Roles & Access',
99-
},
100-
{
101-
path: '/notifications',
102-
icon: <Icon icon="heroicons-solid:inbox-in"></Icon>,
103-
title: 'Notifications',
104-
},
10552
{
10653
path: '/create-form',
10754
icon: <Icon icon="material-symbols:wysiwyg-rounded"></Icon>,
10855
title: 'Applications Form',
10956
},
110-
{
111-
path: '/calendar',
112-
icon: <Icon icon="ant-design:calendar-filled"></Icon>,
113-
title: 'Calendar',
114-
},
11557
{
11658
path: '/Trash',
11759
icon: <Icon icon="fa-solid:trash"></Icon>,

src/pages/updateTrainee/traineUpdate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,4 +723,4 @@ const mapState = (allCycles: any) => ({
723723

724724
export default connect(mapState, {
725725
getAllCycles,
726-
})(TraineeUpdate);
726+
})(TraineeUpdate);

0 commit comments

Comments
 (0)