瀏覽代碼

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'> & {