Skip to content

Commit

Permalink
Fix typo in comment (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglesthula committed Apr 15, 2024
1 parent a307969 commit 16c2959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/05.prop-getters/02.problem.getters/toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function useToggle() {
const toggle = () => setOn(!on)

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

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

0 comments on commit 16c2959

Please sign in to comment.