diff --git a/src/pages/subjectDetails.tsx b/src/pages/subjectDetails.tsx
index 8b181fa7..2024e112 100644
--- a/src/pages/subjectDetails.tsx
+++ b/src/pages/subjectDetails.tsx
@@ -839,42 +839,27 @@ const SubjectDetails = () => {
-
- {subject && subject.length > 1 ? (
- subject.map((subj: any, index: number) => (
-
- handleCardClick(subj)}
- sx={{
- padding: "14px",
- cursor: "pointer",
- border: "1px solid rgba(0, 0, 0, 0.1)",
- boxShadow: "0px 2px 8px rgba(0, 0, 0, 0.05)",
- borderRadius: "8px",
- transition: "all 0.3s ease",
- "&:hover": {
- backgroundColor: "#EAF2FF",
- transform: "scale(1.02)",
- },
- marginTop: "12px",
- }}
- >
-
-
-
- {subj?.name || "Untitled Subject"}
-
-
-
-
- ))
- ) : (
- 1 ? (
+ subject?.map((subj: string, index: number) => (
+ handleCardClick(subj)}
>
-
{/* Left Section: Folder Icon and Subject Name */}
{
Select Medium, Grade, and Type
)}
-
-
);