refreshes pending Job when expiry date is extended
This commit was merged in pull request #373.
This commit is contained in:
@@ -7,12 +7,11 @@ export default function MyPendingJobsPage() {
|
||||
let { commonHeadBanner } = useSelector((state) => state.commonHeadBanner);
|
||||
let { pendingListTable } = useSelector((state) => state.tableReload);
|
||||
|
||||
console.log('TESTING', pendingListTable)
|
||||
|
||||
const [MyJobList, setMyJobList] = useState({loading: true, data: []});
|
||||
const api = new usersService();
|
||||
|
||||
const getMyJobList = async () => {
|
||||
setMyJobList({loading: true, data: []});
|
||||
try {
|
||||
const res = await api.getMyPendingJobList();
|
||||
setMyJobList({loading: false, data: res.data});
|
||||
|
||||
Reference in New Issue
Block a user