ryoji-s 2 lat temu
rodzic
commit
8fa435a860

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