Przeglądaj źródła

redundant code removed

Steven Fukase 4 lat temu
rodzic
commit
d0579ffeb9

+ 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;