V
axiosGetContentAction
ты вызываешь
yield put(axiosGetContentAction.failure(error));
ошибка передаётся в ActionCreator. дальше смотри его тело, его кода нет в гисте
Size: a a a
V
axiosGetContentAction
yield put(axiosGetContentAction.failure(error));
НШ
V
V
V
V
export const axiosGetUser = async (login: string, email: string, password: string) => {
try {
const response = await axios.post('http://localhost:5000/login', { email, password });
let responseData : ServerResponse = await response.data;
console.log(responseData);
return responseData;
} catch(error) {
console.log("error", error);
}
};
V
НШ
export const axiosGetUser = async (login: string, email: string, password: string) => {
try {
const response = await axios.post('http://localhost:5000/login', { email, password });
let responseData : ServerResponse = await response.data;
console.log(responseData);
return responseData;
} catch(error) {
console.log("error", error);
}
};
axiosGetContentAction.failure(error)
MK
НШ
V
axiosGetContentAction.failure(error)
`console.log("responsdf "+axiosGetContentAction.failure(error));`
НШ
`console.log("responsdf "+axiosGetContentAction.failure(error));`
E
A
G
VZ
IS
YO
YO