Procházet zdrojové kódy

Merge pull request #1417 from porter-dev/belanger/hot-fix-accounts-staging

[hotfix] Accounts fix -> staging
abelanger5 před 4 roky
rodič
revize
d80dccf0ce

+ 1 - 1
dashboard/src/main/home/onboarding/steps/ConnectSource.tsx

@@ -96,7 +96,7 @@ const ConnectSource: React.FC<{
           </Helper>
           </Helper>
         </>
         </>
       )}
       )}
-      {!isLoading && accountData?.accounts.length && (
+      {!isLoading && accountData?.accounts?.length && (
         <>
         <>
           <Helper>Porter currently has access to:</Helper>
           <Helper>Porter currently has access to:</Helper>
           <List>
           <List>