Menu
@@ -110,20 +110,17 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler, myJ
{/* menu and settings item */}
{userDetails?.account_type !== "FAMILY" && (
-
-
)}
{userDetails?.account_type !== "FAMILY" && (
<>
{!userDetails?.post_jobs ? (
-
) : myJobList?.data?.result_list?.length ? (
-
+
My Jobs
@@ -213,8 +210,12 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler, myJ
- ) : !myJobList?.loading && (
-
+ ) : (
+
My Jobs
diff --git a/src/components/Partials/Sidebar.jsx b/src/components/Partials/Sidebar.jsx
index 9fc0ac8..e909170 100644
--- a/src/components/Partials/Sidebar.jsx
+++ b/src/components/Partials/Sidebar.jsx
@@ -95,7 +95,7 @@ export default function Sidebar({ sidebar, action, logoutModalHandler, myJobList
{/* menus item */}
@@ -131,19 +131,17 @@ export default function Sidebar({ sidebar, action, logoutModalHandler, myJobList
{/* menu and settings item */}
{userDetails?.account_type !== "FAMILY" && (
-
)}
{userDetails?.account_type !== "FAMILY" && (
<>
{!userDetails?.post_jobs ? (
-
- {/* menus item */}
-
-
-
-
- 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
+
+
+
+
) : myJobList?.data?.result_list?.length ? (
- <>
-
-
-
- My Jobs
-
-
-
-
- {[
- {
- name: "List",
- path: "/myjobs",
- iconName: "people-two",
- },
- {
- name: "Pending",
- path: "/my-pending-jobs",
- iconName: "people-two",
- },
- {
- name: "Active",
- path: "/my-active-jobs",
- iconName: "people-two",
- },
- ].map(({ name, path, iconName }, idx) => (
-
- ))}
-
-
+
+
+
+ My Jobs
+
- >
- ) : !myJobList?.loading && (
-
+
+
+ {[
+ {
+ name: "List",
+ path: "/myjobs",
+ iconName: "people-two",
+ },
+ {
+ name: "Pending",
+ path: "/my-pending-jobs",
+ iconName: "people-two",
+ },
+ {
+ name: "Active",
+ path: "/my-active-jobs",
+ iconName: "people-two",
+ },
+ ].map(({ name, path, iconName }, idx) => (
+
+ ))}
+
+
+
+ ) : (
+