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,