소스 검색

redundant code removed

Steven Fukase 4 년 전
부모
커밋
d0579ffeb9
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/client/js/components/PageEditor/LinkEditModal.jsx

+ 0 - 1
src/client/js/components/PageEditor/LinkEditModal.jsx

@@ -224,7 +224,6 @@ class LinkEditModal extends React.PureComponent {
   }
 
   handleChangeLinkInput(link) {
-    this.setState({ linkInputValue: link, isUseRelativePath: false, isUsePermanentLink: false });
     let isUseRelativePath = this.state.isUseRelativePath;
     if (!this.state.linkInputValue.startsWith('/') || this.state.linkerType === Linker.types.growiLink) {
       isUseRelativePath = false;