فهرست منبع

delete unnecessary setter

akira-s 6 سال پیش
والد
کامیت
ffb1de7c4e
1فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  1. 0 5
      src/client/js/components/Admin/UserManagement.jsx

+ 0 - 5
src/client/js/components/Admin/UserManagement.jsx

@@ -20,7 +20,6 @@ class UserManagement extends React.Component {
   constructor(props) {
     super();
     this.handlePage = this.handlePage.bind(this);
-    this.setNotifyComment = this.setNotifyComment.bind(this);
   }
 
   componentWillMount() {
@@ -57,10 +56,6 @@ class UserManagement extends React.Component {
     return true;
   }
 
-  setNotifyComment(notifyComment) {
-    this.props.adminUsersContainer.setNotifyComment(notifyComment);
-  }
-
   render() {
     const { t, adminUsersContainer } = this.props;