apps/web: fix reset error on next step
This commit is contained in:
parent
06ced758d1
commit
2d41e403ce
@ -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,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user