Skip to content

Commit

Permalink
Grammar nitpick; plural for "user" is "users"
Browse files Browse the repository at this point in the history
D'oh. I wasn't going to do this, but since I'm already making a
nitpick branch anyway, why not? Easy peasy change.
  • Loading branch information
ianjmacintosh committed Aug 23, 2024
1 parent f948417 commit 79c9c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exercise/06.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function useToggle({
//
// 💰 Sorry if Olivia the Owl is cryptic. Here's what you need to do for that onChange call:
// `onChange(reducer({...state, on}, action), action)`
// 💰 Also note that user's don't *have* to pass an `onChange` prop (it's not required)
// 💰 Also note that users don't *have* to pass an `onChange` prop (it's not required)
// so keep that in mind when you call it! How could you avoid calling it if it's not passed?

// make these call `dispatchWithOnChange` instead
Expand Down

0 comments on commit 79c9c1a

Please sign in to comment.