sunguroku 4 лет назад
Родитель
Сommit
f3fb32e2ef
1 измененных файлов с 3 добавлено и 1 удалено
  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>
+      );
       // }
     }