We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea7a63 commit d6f6b91Copy full SHA for d6f6b91
exercises/03.compound-components/02.problem.validation/toggle.tsx
@@ -13,7 +13,7 @@ export function Toggle({ children }: { children: React.ReactNode }) {
13
14
// 🐨 create a custom useToggle() hook here
15
// create a new context variable and read ToggleContext with use
16
-// when no context is found, throw an error with usefull debugging information
+// when no context is found, throw an error with a useful message
17
// otherwise return the context
18
19
export function ToggleOn({ children }: { children: React.ReactNode }) {
0 commit comments