소스 검색

delete comment

reiji-h 2 년 전
부모
커밋
c43ba2fa64
1개의 변경된 파일1개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 8
      apps/app/src/components/PageEditor/PageEditor.tsx

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

@@ -338,20 +338,13 @@ export const PageEditor = React.memo((props: Props): JSX.Element => {
           // modify to "![fileName](url)" syntax
           insertText = `!${insertText}`;
         }
-        // TODO: implement
-        // refs: https://redmine.weseek.co.jp/issues/126528
-        // editorRef.current.insertText(insertText);
+
         codeMirrorEditor?.insertText(insertText);
       }
       catch (e) {
         logger.error('failed to upload', e);
         toastError(e);
       }
-      finally {
-        // TODO: implement
-        // refs: https://redmine.weseek.co.jp/issues/126528
-        // editorRef.current.terminateUploadingState();
-      }
     });
 
   }, [codeMirrorEditor, currentPagePath, pageId]);