소스 검색

clean code

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,