Skip to content

Commit 34fae69

Browse files
committed
Fix typo in updating the state doc
1 parent 513ceb3 commit 34fae69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/UPDATING_THE_STATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const createMyFormUpdateFunction = (otherNumber: number) => updateGroup<MyFormVa
165165
});
166166

167167
export function appReducer(state = initialState, action: Action): AppState {
168-
let myForm = formGroupeReducer(state.myForm, action);
168+
let myForm = formGroupReducer(state.myForm, action);
169169
myForm = createMyFormUpdateFunction(state.someOtherNumber)(myForm);
170170
if (myForm !== state.myForm) {
171171
state = { ...state, myForm };

0 commit comments

Comments
 (0)