Explorar o código

fixed typo arror => arrow

Taichi Masuyama %!s(int64=3) %!d(string=hai) anos
pai
achega
fd89441b82

+ 1 - 1
packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

@@ -676,7 +676,7 @@ class CodeMirrorEditor extends AbstractEditor {
   keyDownHandlerForEmojiPicker(editor, event) {
     const key = event.key;
 
-    if (['ArrowRight', 'ArrowLeft', 'ArrorUp', 'ArrowDown', 'BackSpace'].includes(key)) {
+    if (['ArrowRight', 'ArrowLeft', 'ArrowUp', 'ArrowDown', 'BackSpace'].includes(key)) {
       this.resetEmojiPickerState();
     }
   }