Sfoglia il codice sorgente

fix optionsToSave type err

kaori 3 anni fa
parent
commit
c3ebf20d9d

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

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