Skip to content

Commit

Permalink
Merge pull request #1 from Ampit/Ampit/expect-to-except
Browse files Browse the repository at this point in the history
Update scoping-hotkeys.mdx, expect to except
  • Loading branch information
Ampit authored May 17, 2023
2 parents 078ba7f + 51fdbba commit c6abcf3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function ScopedHotkey() {

return (
<>
<p>The count is {count}. Click anywhere expect for the button to disable the hotkey.</p>
<p>The count is {count}. Click anywhere except for the button to disable the hotkey.</p>
<button ref={ref}>
Click me to enable the hotkey
</button>
Expand All @@ -65,7 +65,7 @@ function SecondScopedHotkey() {

return (
<>
<p>The count is {count}. Click anywhere expect for the button to disable the hotkey.</p>
<p>The count is {count}. Click anywhere except for the button to disable the hotkey.</p>
<button ref={ref}>
Click me to enable the hotkey
</button>
Expand Down Expand Up @@ -151,4 +151,4 @@ render(
<NestedScopedHotkey/>
</ScopedHotkey>
)
```
```

0 comments on commit c6abcf3

Please sign in to comment.