From 9c54f328960568bb384508882a06e4ddd2ed02d5 Mon Sep 17 00:00:00 2001 From: AryanGKulkarni <95529889+AryanGKulkarni@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:25:15 +0530 Subject: [PATCH] skill-admin --- src/app/(routes)/admin/jobs/[jobId]/page.tsx | 19 +++++++++---------- src/helpers/recruiter/types.ts | 2 +- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/app/(routes)/admin/jobs/[jobId]/page.tsx b/src/app/(routes)/admin/jobs/[jobId]/page.tsx index e6b42da..3e7dcc5 100644 --- a/src/app/(routes)/admin/jobs/[jobId]/page.tsx +++ b/src/app/(routes)/admin/jobs/[jobId]/page.tsx @@ -297,16 +297,15 @@ const JobDetailPage = ({ params }: { params: { jobId: string } }) => {
Skills
- {editMode ? ( - - ) : ( - job.skills - )} +
+ {job.skills.map((skill, index) => ( +
+
+ {skill} +
+
+ ))} +
diff --git a/src/helpers/recruiter/types.ts b/src/helpers/recruiter/types.ts index 25c40b4..6e1ba94 100644 --- a/src/helpers/recruiter/types.ts +++ b/src/helpers/recruiter/types.ts @@ -119,7 +119,7 @@ export interface JobDetailFC { }; description: string; attachment: string; - skills: string; + skills: string[]; offerLetterReleaseDate: string; joiningDate: string; location: string;