소스 검색

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,