diff --git a/src/Pages/ManageHumanResource/Employees.jsx b/src/Pages/ManageHumanResource/Employees.jsx index 0f66511..8a0349f 100644 --- a/src/Pages/ManageHumanResource/Employees.jsx +++ b/src/Pages/ManageHumanResource/Employees.jsx @@ -49,7 +49,7 @@ import { AccordionButton, AccordionPanel, } from "@chakra-ui/react"; -import { ChevronRightIcon } from "@chakra-ui/icons"; +import { ChevronRightIcon } from "@chakra-ui/icons"; const Employees = () => { const { employees } = useContext(GlobalStateContext); @@ -335,7 +335,7 @@ const Employees = () => { > Filter - + {" "} @@ -344,63 +344,61 @@ const Employees = () => { - - {/* Department Section */} - - {({ isExpanded }) => ( - <> -

+ + + {/* Department Section */} + + {({ isExpanded }) => ( + <> - + {isExpanded ? ( + + ) : ( + + )} + Department + + + + Design + Finance + IT + Development + Sales + QA + + + + )} + + + {/* Status Section */} + + {({ isExpanded }) => ( + <> + {isExpanded ? ( ) : ( )} - -

- - - Design - Finance - IT - Development - Sales - QA - - - - )} -
- - {/* Status Section */} - - {({ isExpanded }) => ( - <> -

- - + Status - {isExpanded ? ( - - ) : ( - - )} -

- - - Active - Inactive - - - - )} -
-
+ + + Active + Inactive + + + + )} + + +