reiji-h преди 2 години
родител
ревизия
725a6ee425
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      apps/app/src/components/PageEditor/PageEditor.tsx

+ 0 - 1
apps/app/src/components/PageEditor/PageEditor.tsx

@@ -448,7 +448,6 @@ export const PageEditor = React.memo((props: Props): JSX.Element => {
             user={user ?? undefined}
             pageId={pageId ?? undefined}
             initialValue={initialValue}
-            onOpenEditor={markdown => setMarkdownToPreview(markdown)}
             editorSettings={editorSettings}
             onEditorsUpdated={onEditorsUpdated}
           />