소스 검색

fix optionsToSave type err

kaori 3 년 전
부모
커밋
c3ebf20d9d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/components/PageEditor/ConflictDiffModal.tsx

+ 1 - 1
packages/app/src/components/PageEditor/ConflictDiffModal.tsx

@@ -32,7 +32,7 @@ type ConflictDiffModalProps = {
   onClose?: (() => void);
   pageContainer: PageContainer;
   markdownOnEdit: string;
-  optionsToSave: OptionsToSave;
+  optionsToSave: OptionsToSave | null;
 };
 
 type IRevisionOnConflictWithStringDate = Omit<IRevisionOnConflict, 'createdAt'> & {