Shun Miyazawa 2 лет назад
Родитель
Сommit
b5daa5f86e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/editor/src/components/CodeMirrorEditorReadOnly.tsx

+ 1 - 1
packages/editor/src/components/CodeMirrorEditorReadOnly.tsx

@@ -15,7 +15,7 @@ const additionalExtensions: Extension[] = [
     setDataLine,
     EditorState.readOnly.of(true),
   ],
-] as const;
+];
 
 type Props = CodeMirrorEditorProps & {
   body?: string,