Browse Source

test gh hotfix

sunguroku 4 years ago
parent
commit
f3fb32e2ef
1 changed files with 3 additions and 1 deletions
  1. 3 1
      dashboard/src/components/repo-selector/RepoList.tsx

+ 3 - 1
dashboard/src/components/repo-selector/RepoList.tsx

@@ -151,13 +151,15 @@ const RepoList: React.FC<Props> = ({
       }
 
       // 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>
+      );
       // }
     }