We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d1e59d commit a307969Copy full SHA for a307969
exercises/08.control-props/01.problem/toggle.tsx
@@ -24,7 +24,7 @@ export function toggleReducer(state: ToggleState, action: ToggleAction) {
24
}
25
26
export function useToggle({
27
- // 🐨 add a the `on` and `onChange` options here.
+ // 🐨 add the `on` and `onChange` options here.
28
// 💰 you can alias it to `controlledOn` as we do in the Toggle component
29
// below to avoid "variable shadowing."
30
initialOn = false,
0 commit comments