Browse Source

clean code

reiji-h 2 năm trước cách đây
mục cha
commit
eda783dcb1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/app/src/components/PageEditor/PageEditor.tsx

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

@@ -558,7 +558,7 @@ export const PageEditor = React.memo((props: Props): JSX.Element => {
 
     return cleanupFunction;
 
-  }, [codeMirrorEditor, saveWithShortcut, currentIndentSize]);
+  }, [codeMirrorEditor, currentIndentSize]);
 
 
   // when transitioning to a different page, if the initialValue is the same,