reiji-h преди 2 години
родител
ревизия
eda783dcb1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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,