Parcourir la source

fix lint error

ryoji-s il y a 2 ans
Parent
commit
8fa435a860
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,