fix(typo): Esacpe -> Escape (#22780)

This commit is contained in:
hiro
2021-11-16 16:43:25 -05:00
committed by GitHub
parent aa19d569b2
commit f320ef88f5
@@ -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);