From 73a21a2367a5f5a361fb1568e428a5f630966099 Mon Sep 17 00:00:00 2001 From: Ebube Date: Tue, 16 May 2023 17:25:08 +0100 Subject: [PATCH] added for mobile --- src/components/Partials/MobileSideBar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Partials/MobileSideBar.jsx b/src/components/Partials/MobileSideBar.jsx index ff17901..db0415d 100644 --- a/src/components/Partials/MobileSideBar.jsx +++ b/src/components/Partials/MobileSideBar.jsx @@ -12,7 +12,7 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) { let { jobLists } = useSelector((state) => state.jobLists); const marketData = jobLists?.result_list; - let noOfJobs = marketData?.length; + let noOfJobs = marketData?.length <= 0 ? "0" : marketData?.length; return (
-- 2.34.1