market reload, and added manage job on market route for owner

This commit was merged in pull request #755.
This commit is contained in:
victorAnumudu
2024-07-19 17:25:17 +01:00
parent 9da4ed2282
commit 840abb4dcc
4 changed files with 68 additions and 18 deletions
+1
View File
@@ -217,6 +217,7 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
}
// Getting market data
const getMarketActiveJobList = async () => {
dispatch(updateJobs({loading: true}));
try {
const res = await apiCall.getActiveJobList();
dispatch(updateJobs({loading: false, ...res.data}));