mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fix(typo): Esacpe -> Escape (#22780)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user