Ivan Galakhov пре 4 година
родитељ
комит
cc6285fc29
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      dashboard/src/main/home/Home.tsx

+ 0 - 3
dashboard/src/main/home/Home.tsx

@@ -90,9 +90,6 @@ class Home extends Component<PropsType, StateType> {
   };
   };
 
 
   getCapabilities = () => {
   getCapabilities = () => {
-    let { currentProject } = this.props;
-    if (!currentProject) return;
-
     api
     api
       .getCapabilities("<token>", {}, {})
       .getCapabilities("<token>", {}, {})
       .then((res) => {
       .then((res) => {