diff --git a/package-lock.json b/package-lock.json index fd9cddfad..4523d9f66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23577,4 +23577,4 @@ } } } -} +} \ No newline at end of file diff --git a/src/pages/AdminDashboard.tsx b/src/pages/AdminDashboard.tsx index 8b3d137d5..660d06df4 100644 --- a/src/pages/AdminDashboard.tsx +++ b/src/pages/AdminDashboard.tsx @@ -127,36 +127,6 @@ function SupAdDashboard() {
- {/*
- - - - -
- */} -
- {/*
-
*/} - {/*
- {user?.role === 'coordinator' || undefined ? ( - '' - ) : ( - - )} -
*/} -
- - {/*
-
*/} -
diff --git a/src/pages/AdminTraineeDashboard.tsx b/src/pages/AdminTraineeDashboard.tsx index 8f5a5cf5c..c3e7742e6 100644 --- a/src/pages/AdminTraineeDashboard.tsx +++ b/src/pages/AdminTraineeDashboard.tsx @@ -109,10 +109,8 @@ function AdminTraineeDashboard() { } const [deleteFromCohort, setDeleteFromCohort] = useState(''); - //const [status, setStatus] = useState(row.original?.Status?.status); - // Define state variables to store reason and date + const [reason, setReason] = useState(''); - // const [date, setDate] = useState(''); const currentDate = new Date().toISOString().split('T')[0]; // Get the current date // Function to handle the reason input change @@ -247,8 +245,7 @@ function AdminTraineeDashboard() { const columns = [ { Header: t('name'), accessor: 'name' }, { Header: t('email'), accessor: 'email' }, - // { Header: t('rating'), accessor: 'rating' }, - // { Header: t('Team'), accessor: 'team' }, + { Header: t('cohort'), accessor: 'cohort' }, { Header: t('program'), accessor: 'program' }, {