etender live and purchased list

This commit is contained in:
Jaanu423
2026-01-07 10:41:31 +05:30
parent 59fb7e0df4
commit ce40aa388f
25 changed files with 16431 additions and 40 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ export const apiCall = async <R, D = {}>(
try {
const token: any = store.getState().token.token;
console.log("token : ", token)
const response = await axios({
method,
url,
@@ -25,7 +26,7 @@ export const apiCall = async <R, D = {}>(
'Content-Type': contentType || 'application/json',
},
});
console.log("url : ", url)
return response.data;
} catch (error: any) {
const errorMessage = error?.response?.data?.error;