Sfoglia il codice sorgente

fixed typo arror => arrow

Taichi Masuyama 3 anni fa
parent
commit
fd89441b82

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

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