Explorar o código

Merge pull request #1301 from porter-dev/hotfix-gh-install

Hotfix gh install
sunguroku %!s(int64=4) %!d(string=hai) anos
pai
achega
623f4e634b
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      dashboard/src/components/repo-selector/RepoList.tsx

+ 4 - 2
dashboard/src/components/repo-selector/RepoList.tsx

@@ -149,15 +149,17 @@ const RepoList: React.FC<Props> = ({
           </LoadingWrapper>
         );
       }
-
+      
       // if (accessData.accounts?.length === 0) {
+      return (
         <LoadingWrapper>
           No connected Github repos found. You can
           <A href={"/api/integrations/github-app/install"}>
             Install Porter in more repositories
           </A>
           .
-        </LoadingWrapper>;
+        </LoadingWrapper>
+      );
       // }
     }