Kaynağa Gözat

fix optionsToSave type err

kaori 3 yıl önce
ebeveyn
işleme
c3ebf20d9d

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