ソースを参照

remove dependency

soumaeda 2 年 前
コミット
a7f59193cd
1 ファイル変更1 行追加1 行削除
  1. 1 1
      apps/app/src/components/PageEditor/PageEditor.tsx

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

@@ -190,7 +190,7 @@ export const PageEditor = React.memo((props: Props): JSX.Element => {
     const editor = codeMirrorEditor.view;
     const editor = codeMirrorEditor.view;
     const markdownTable = mtu.getMarkdownTable(editor);
     const markdownTable = mtu.getMarkdownTable(editor);
     openHandsontableModal(markdownTable, editor);
     openHandsontableModal(markdownTable, editor);
-  }, [codeMirrorEditor.view, openHandsontableModal]);
+  }, []);
 
 
 
 
   const checkIsConflict = useCallback((data) => {
   const checkIsConflict = useCallback((data) => {