This commit is contained in:
Ebube
2023-05-25 22:43:13 +01:00
parent 87c0922974
commit b4fa523cef
3 changed files with 34 additions and 36 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
// Getting market data
const getMarketActiveJobList = async () => {
try {
const res = await apiCall.getMyJobList();
const res = await apiCall.getActiveJobList();
console.log('Checking job data from auth', res)
dispatch(updateJobs(res.data));
} catch (error) {
console.log("Error getting mode");