瀏覽代碼

fix lint error

ryoji-s 2 年之前
父節點
當前提交
8fa435a860
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/editor/src/components/CodeMirrorEditorMain.tsx

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

@@ -30,7 +30,7 @@ type Props = {
   onSave?: () => void,
   onUpload?: (files: File[]) => void,
   indentSize?: number,
-  pageId?: string,
+  pageId?: string | null,
   userName?: string,
   socket?: any, // Socket<DefaultEventsMap, DefaultEventsMap>,
   initialValue: string,