Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Christophe Porteneuve <[email protected]>
  • Loading branch information
linsolas and tdd authored Jul 20, 2023
1 parent db5c992 commit f44d531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/useReducer.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ function reducer(state, action) {
return state;
}
case 'changed_name': {
// 🚩 Incorrect : modification de l'objet existant
// 🚩 Incorrect : modification de lobjet existant
state.name = action.nextName;
return state;
}
Expand Down

0 comments on commit f44d531

Please sign in to comment.