jnfrati 3 лет назад
Родитель
Сommit
e21a638d68
1 измененных файлов с 1 добавлено и 15 удалено
  1. 1 15
      dashboard/src/components/repo-selector/BranchList.tsx

+ 1 - 15
dashboard/src/components/repo-selector/BranchList.tsx

@@ -47,21 +47,7 @@ const BranchList: React.FC<Props> = ({
           }
         )
         .then((res) => {
-          setBranches([
-            ...res.data,
-            ...[
-              "asd",
-              "asdq",
-              "aoipwjoie",
-              "ajodjwioa",
-              "jaodsjoiqj",
-              "qwpepok",
-              "asdasd",
-              "qjwoeojijio",
-              "aojiqjio",
-              "asojijiqo",
-            ],
-          ]);
+          setBranches(res.data);
           setLoading(false);
           setError(false);
         })