Updated endpoint #101
@@ -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'})
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user