리덕스 로그인

    ErrorNote] 리액트&리덕스 토큰이 정상적으로 들어오지 않는 현상

    export const logInDB = (user_info) => async (dispatch, getState, { history }) => { const username = user_info.username; const password = user_info.password; try { const login = await instance.post('/login', { username, password, }); const login_info = { token: login.data.token, username: login.data.username, }; ------------------------------ //dispatch(SetUser(login_info)); //history.replace('/'..