Quellcode durchsuchen

Remove mock data

jnfrati vor 4 Jahren
Ursprung
Commit
e21a638d68
1 geänderte Dateien mit 1 neuen und 15 gelöschten Zeilen
  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);
         })