jnfrati 3 anni fa
parent
commit
e21a638d68
1 ha cambiato i file con 1 aggiunte e 15 eliminazioni
  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) => {
         .then((res) => {
-          setBranches([
-            ...res.data,
-            ...[
-              "asd",
-              "asdq",
-              "aoipwjoie",
-              "ajodjwioa",
-              "jaodsjoiqj",
-              "qwpepok",
-              "asdasd",
-              "qjwoeojijio",
-              "aojiqjio",
-              "asojijiqo",
-            ],
-          ]);
+          setBranches(res.data);
           setLoading(false);
           setLoading(false);
           setError(false);
           setError(false);
         })
         })