Skip to content

Commit

Permalink
fix: addtional modification in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jvn4dev authored Feb 20, 2024
1 parent 5460e9c commit d1f41b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/api/use-hotkeys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ useHotkeys(['ctrl+a', 'shift+b', 'r', 'f'], (_, handler) => {
switch (handler.keys.join('')) {
case 'a': alert('You pressed ctrl+a!');
break;
case 'b': alert('You pressed ctrl+b!');
case 'b': alert('You pressed shift+b!');
break;
case 'r': alert('You pressed r!');
break;
Expand Down

0 comments on commit d1f41b2

Please sign in to comment.