diff --git a/src/components/MyJobs/StartJob.jsx b/src/components/MyJobs/StartJob.jsx index 54e10db..d6f3370 100644 --- a/src/components/MyJobs/StartJob.jsx +++ b/src/components/MyJobs/StartJob.jsx @@ -24,10 +24,9 @@ export default function StartJob(props) { return } setRequest({loading: false, status: true, message: 'Request completed successfully'}) - console.log("Job agree", res?.data) setTimeout(()=>{ - // navigate('/', {replace: true}) - // window.location.reload() + navigate('/', {replace: true}) + window.location.reload() }, 2000) }).catch(error => { setRequest({loading: false, status: false, message: 'Opps! An Error Occured. Try Again'}) diff --git a/src/components/Partials/Sidebar.jsx b/src/components/Partials/Sidebar.jsx index 5a4df91..a1b605b 100644 --- a/src/components/Partials/Sidebar.jsx +++ b/src/components/Partials/Sidebar.jsx @@ -15,7 +15,6 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) { console.log('user-details for job',userDetails); //const jobLists = getJobList(); // pass from upper - we need in a lot of places let { jobLists } = useSelector((state) => state.jobLists); - console.log('checking for jobList',jobLists) const marketData = jobLists?.result_list; let noOfJobs = marketData?.length <= 0 ? "0" : marketData?.length;