did you find the solution? I´m thinking this may be your bug? patchState(store, () => ({ user })); should be patchState(store, { user });