瀏覽代碼

Remove variables not used #13425

Johannes Schill 7 年之前
父節點
當前提交
7e7c7fe64c
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      public/app/features/teams/TeamMembers.tsx

+ 1 - 3
public/app/features/teams/TeamMembers.tsx

@@ -83,10 +83,8 @@ export class TeamMembers extends PureComponent<Props, State> {
   }
 
   render() {
-    const { newTeamMember, isAdding } = this.state;
+    const { isAdding } = this.state;
     const { searchMemberQuery, members, syncEnabled } = this.props;
-    const newTeamMemberValue = newTeamMember && newTeamMember;
-    console.log('newTeamMemberValue', newTeamMemberValue);
     return (
       <div>
         <div className="page-action-bar">