This commit is contained in:
Abin Toppo
2026-01-23 11:02:56 +05:30
parent 76ba2b66f7
commit 78a74472dd
19 changed files with 175 additions and 154 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export const apiCall = async <R, D = {}>(
return response.data;
} catch (error: any) {
const errorMessage = error?.response?.data?.error;
// console.log(error?.response?.data.error, '---------------------------api error message');
if (error?.response?.statusCode === 401) {
store.dispatch(setToken({}));