Skip to content

Commit

Permalink
fix(typo): Esacpe -> Escape (facebook#22780)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro0218 authored and zhengjitf committed Apr 15, 2022
1 parent 7d56bed commit 03d7e0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function isValidKey(nativeEvent: KeyboardEvent): boolean {

function isTextInput(nativeEvent: KeyboardEvent): boolean {
const {key, target} = nativeEvent;
if (key === 'Tab' || key === 'Esacpe') {
if (key === 'Tab' || key === 'Escape') {
return false;
}
const {isContentEditable, tagName} = (target: any);
Expand Down

0 comments on commit 03d7e0a

Please sign in to comment.