why my redux state not updating
问题 state not updating.when action is dispatched the state should update to isAuthenticated to true..but the state not updating..redux returning the initial state not the updated state. export function setCurrentUser(user) { console.log(user); return { type: "SET_CURRENT_USER", user }; } ... export function login(userData) { return dispatch => { return axios.post('/user/auth',userData).then((res) => { const { status, sessionId, username, error} = res.data; if(status === "success"){ dispatch