Skip to content

Commit

Permalink
Spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed Aug 20, 2021
1 parent 1b2f104 commit d5e8d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/confirm/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function Confirm(
} = useConfirm( props );

function handleEscapePress( event: KeyboardEvent< HTMLDivElement > ) {
// `keyCode` is depreacted, so let's use `key`
// `keyCode` is deprecated, so let's use `key`
if ( event.key === 'Escape' ) {
proceed( false );
}
Expand Down

0 comments on commit d5e8d73

Please sign in to comment.