소스 검색

Merge branch 'nico/por-601-fix-buildpack-settings-getting-blocked' of github.com:porter-dev/porter into dev

jnfrati 4 년 전
부모
커밋
de007805a6
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);
         })