mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 06:39:09 +03:00
fix: issue with project with no github connections
This commit is contained in:
1 parent
2ede787f75
commit
b70dab02cf
1 file changed
+1
-1
+1
-1
@@ -44,7 +44,7 @@ const SidePanelGitHubRepoLinker = ({
|
||||
const githubIntegrations = integrationData?.filter(
|
||||
(integration) => integration.integration.name === 'GitHub'
|
||||
) // github
|
||||
const existingProjectGithubConnection = githubIntegrations?.[0].connections.find(
|
||||
const existingProjectGithubConnection = githubIntegrations?.[0]?.connections.find(
|
||||
(connection) => connection.supabase_project_ref === projectRef
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user