Explorar o código

redundant code removed

Steven Fukase %!s(int64=4) %!d(string=hai) anos
pai
achega
d0579ffeb9
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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;