Shun Miyazawa пре 2 година
родитељ
комит
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,