ryoji-s 2 лет назад
Родитель
Сommit
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,