diff --git a/src/pages/subjectDetails.tsx b/src/pages/subjectDetails.tsx index a5a90701..bcd7d913 100644 --- a/src/pages/subjectDetails.tsx +++ b/src/pages/subjectDetails.tsx @@ -605,7 +605,7 @@ const SubjectDetails = () => { router.back(); }; - const handleCopyLink = (subject: any) => {}; + const handleCopyLink = (subject: any) => { }; const handleCardClick = (subject: string) => { setTaxonomySubject(subject); @@ -704,15 +704,8 @@ const SubjectDetails = () => { return ( - - + + - - + + - + - + - - + + - - + + { - - {subject && subject.length > 1 ? ( - subject?.map((subj: string, index: number) => ( - handleCardClick(subj)} + + + + + {subject && subject.length > 1 ? ( + subject?.map((subj: string, index: number) => ( + + handleCardClick(subj)} + > + {/* Left Section: Folder Icon and Subject Name */} + + + + {subj || "Untitled Subject"} + + + + + + )) + ) : ( + - {/* Left Section: Folder Icon and Subject Name */} - - - - {subj || "Untitled Subject"} - - - - )) - ) : ( - - Select Medium, Grade, and Type - - )} + Select Medium, Grade, and Type + + )} + );