Parcourir la source

redundant code removed

Steven Fukase il y a 4 ans
Parent
commit
d0579ffeb9
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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;