Skip to content

Commit a307969

Browse files
authored
fix(control-props): typo (#129)
1 parent 7d1e59d commit a307969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/08.control-props/01.problem/toggle.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function toggleReducer(state: ToggleState, action: ToggleAction) {
2424
}
2525

2626
export function useToggle({
27-
// 🐨 add a the `on` and `onChange` options here.
27+
// 🐨 add the `on` and `onChange` options here.
2828
// 💰 you can alias it to `controlledOn` as we do in the Toggle component
2929
// below to avoid "variable shadowing."
3030
initialOn = false,

0 commit comments

Comments
 (0)