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}