added retry count to global react-query setup
This commit is contained in:
@@ -36,7 +36,8 @@ const getAuxEnd = (path) => {
|
||||
// localStorage.clear();
|
||||
// window.location.href = `/login?sessionExpired=true`;
|
||||
}).catch(err => {
|
||||
throw new Error(err.response.data.message);
|
||||
throw new Error(err);
|
||||
// throw new Error(err.response.data.message);
|
||||
// return err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user