yusuketk 7 سال پیش
والد
کامیت
b709d656f7
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      src/client/js/components/PageTagForm.jsx

+ 1 - 2
src/client/js/components/PageTagForm.jsx

@@ -63,8 +63,7 @@ export default class PageTagForm extends React.Component {
       <div className="tag-typeahead">
         <AsyncTypeahead
           id="async-typeahead"
-          // eslint-disable-next-line no-return-assign
-          ref={(typeahead) => { return this.typeahead = typeahead }}
+          ref={(typeahead) => { this.typeahead = typeahead }}
           caseSensitive={false}
           defaultSelected={this.state.defaultPageTags}
           isLoading={this.state.isLoading}