A non-serializable value was detected in the state, in the path
umc study를 하면서 redux를 쓰는 과정에서 겪었던 오류다. export const userSlice = createSlice({ name: "user", initialState: { id: "", pw: "", res: {}, }, reducers: { login: (state, action) => { state.id = action.payload.id; state.pw = action.payload.pw; state.res = action.payload.res; window.localStorage.setItem("token", state.res.data.accesstoken); window.localStorage.setItem("id", state.id); }, logout: (state) ..