apps/web: fix reset error on next step

This commit is contained in:
vchikalkin 2024-07-18 18:44:09 +03:00
parent 06ced758d1
commit 2d41e403ce

View File

@ -20,6 +20,7 @@ const reducer = (state: State, action: Action): State => {
if (action.payload.step) if (action.payload.step)
return { return {
...state, ...state,
error: undefined,
step: action.payload.step, step: action.payload.step,
user: action.payload.user || state.user, user: action.payload.user || state.user,
}; };