yusuketk %!s(int64=7) %!d(string=hai) anos
pai
achega
8db19dabb3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/client/js/components/Page/TagLabel.jsx

+ 1 - 1
src/client/js/components/Page/TagLabel.jsx

@@ -51,7 +51,7 @@ class TagLabel extends React.Component {
     // eslint-disable-next-line no-restricted-globals
     // eslint-disable-next-line no-restricted-globals
     const isPageEditor = location.href.slice(-5) === '#edit';
     const isPageEditor = location.href.slice(-5) === '#edit';
 
 
-    if (isPageEditor) { // set tag on draft on efit
+    if (isPageEditor) { // set tag on draft on edit
       this.props.sendTagData(this.state.newPageTags);
       this.props.sendTagData(this.state.newPageTags);
       this.setState({ currentPageTags: this.state.newPageTags, isOpenModal: false });
       this.setState({ currentPageTags: this.state.newPageTags, isOpenModal: false });
     }
     }