Shun Miyazawa 2 ani în urmă
părinte
comite
b5daa5f86e

+ 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,