diff --git a/src/components/Partials/Sidebar.jsx b/src/components/Partials/Sidebar.jsx index f68ba47..172ee18 100644 --- a/src/components/Partials/Sidebar.jsx +++ b/src/components/Partials/Sidebar.jsx @@ -161,17 +161,17 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) { )} - - <> - {!userDetails?.post_jobs ? ( -
- {/* menus item */} -
- {/*
+ {userDetails?.account_type !== "FAMILY" && ( + <> + {!userDetails?.post_jobs ? ( +
+ {/* menus item */} +
+ {/*
@@ -180,42 +180,41 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
*/} -
-
-

- Job Post -

-
-
    -
  • - (navData.isActive ? "active" : ""), - sidebar - ? "justify-start space-x-3.5" - : "justify-center") - }`} - > - - - - +
    +

    + Job Post +

    +
    +
      +
    • + (navData.isActive ? "active" : ""), + sidebar + ? "justify-start space-x-3.5" + : "justify-center") }`} > - Enable Job Post - - -
    • -
    + + + + + Enable Job Post + +
    +
  • +
+
-
- ) : jobLists?.result_list?.length ? ( - <> - {userDetails?.account_type !== "FAMILY" && ( + ) : jobLists?.result_list?.length ? ( + <>

@@ -252,26 +251,28 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {

- )} - - ) : ( -
-
-

My Jobs

+ + ) : ( +
+
+

+ My Jobs +

+
+
+
    + +
+
-
-
    - -
-
-
- )} - + )} + + )}
{/* signout area */} {sidebar ? ( @@ -338,13 +339,7 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) { ); } -const ListItem = ({ - sidebar, - route, - title, - bubble, - iconName, -}) => { +const ListItem = ({ sidebar, route, title, bubble, iconName }) => { return (