We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 513ceb3 + 34fae69 commit 9163d74Copy full SHA for 9163d74
docs/UPDATING_THE_STATE.md
@@ -165,7 +165,7 @@ const createMyFormUpdateFunction = (otherNumber: number) => updateGroup<MyFormVa
165
});
166
167
export function appReducer(state = initialState, action: Action): AppState {
168
- let myForm = formGroupeReducer(state.myForm, action);
+ let myForm = formGroupReducer(state.myForm, action);
169
myForm = createMyFormUpdateFunction(state.someOtherNumber)(myForm);
170
if (myForm !== state.myForm) {
171
state = { ...state, myForm };
0 commit comments