瀏覽代碼

small fix

Shun Miyazawa 2 年之前
父節點
當前提交
f676ae7408
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/app/src/components/PageEditor/PageEditor.tsx

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

@@ -402,7 +402,7 @@ export const PageEditor = React.memo((props: Props): JSX.Element => {
 
       <div className={`flex-expand-horiz ${props.visibility ? '' : 'd-none'}`}>
         <div className="page-editor-editor-container flex-expand-vert border-end">
-          { isOldRevisionPage
+          { !isOldRevisionPage
             ? (
               <CodeMirrorEditorMain
                 onChange={markdownChangedHandler}