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,