Skip to content

Commit 16c2959

Browse files
authoredApr 15, 2024
Fix typo in comment (#127)
1 parent a307969 commit 16c2959

File tree

1 file changed

+1
-1
lines changed
  • exercises/05.prop-getters/02.problem.getters

1 file changed

+1
-1
lines changed
 

‎exercises/05.prop-getters/02.problem.getters/toggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function useToggle() {
55
const toggle = () => setOn(!on)
66

77
// 🐨 create a function called getTogglerProps that accepts an object
8-
// of props and returns an object of props that includes 'aria-clicked' and onClick.
8+
// of props and returns an object of props that includes 'aria-checked' and onClick.
99

1010
// 💰 Make sure to handle the case where the user provides their own
1111
// 'aria-checked' and 'onClick' props (as well as if they don't or if they

0 commit comments

Comments
 (0)