yusuketk пре 7 година
родитељ
комит
8db19dabb3
1 измењених фајлова са 1 додато и 1 уклоњено
  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 });
     }
     }