Jelajahi Sumber

test gh hotfix

sunguroku 4 tahun lalu
induk
melakukan
f3fb32e2ef
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  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>
+      );
       // }
     }