Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 0 additions & 30 deletions src/pages/AdminDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,36 +127,6 @@ function SupAdDashboard() {
<div className="flex flex-col grow bg-light-bg dark:bg-dark-frame-bg">
<div className="flex flex-row justify-center pb-8">
<div className="w-[100%] h-[100%]">
{/* <div className="grid grid-cols-2 mb-12 md:mb-24 lg:mb-0 lg:grid-cols-4">
<Card text={t('Coordinators')} number={47} />
<Card text={t('Trainees')} number={560} />
<Card text={t('Cohorts')} number={8} />
<Card text={t('Performance')} number={4} />
</div>
<Chart title={t('Overall performance')} /> */}
<div>
{/* <div className="bg-light-bg dark:bg-dark-frame-bg ">
<div className="flex px-10 pt-24 pb-8 items-left lg:px-60"> */}
{/* <div className="flex gap-2 pt-5">
{user?.role === 'coordinator' || undefined ? (
''
) : (
<Button
variant="primary"
size="lg"
data-testid="inviteModel"
style="m-0"
onClick={inviteModel}
>
{t('Invite an organization')}
</Button>
)}
</div> */}
</div>

{/* </div>
</div> */}

<Comingsoon title="Dashboard" />
</div>
</div>
Expand Down
7 changes: 2 additions & 5 deletions src/pages/AdminTraineeDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' },
{
Expand Down
Loading