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

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