From a307969b6c7a8dcf9e390e27de992aa3cfae8b6d Mon Sep 17 00:00:00 2001 From: Jason Ruesch Date: Wed, 10 Apr 2024 19:55:06 -0600 Subject: [PATCH] fix(control-props): typo (#129) --- exercises/08.control-props/01.problem/toggle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/08.control-props/01.problem/toggle.tsx b/exercises/08.control-props/01.problem/toggle.tsx index ea52e8a0..a1bb89a7 100644 --- a/exercises/08.control-props/01.problem/toggle.tsx +++ b/exercises/08.control-props/01.problem/toggle.tsx @@ -24,7 +24,7 @@ export function toggleReducer(state: ToggleState, action: ToggleAction) { } export function useToggle({ - // 🐨 add a the `on` and `onChange` options here. + // 🐨 add the `on` and `onChange` options here. // 💰 you can alias it to `controlledOn` as we do in the Toggle component // below to avoid "variable shadowing." initialOn = false,