Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Merge branch 'chore/vercel-integration-empty-states' into feat/branch-management-2--with-project-settings

Jonathan Summers-Muir600027af4786
diff --cc studio/components/interfaces/Organization/IntegrationSettings/SidePanelVercelProjectLinker.tsx
index eb1077aab2a,e4fb4d93012..5c5f0ad13db
--- a/studio/components/interfaces/Organization/IntegrationSettings/SidePanelVercelProjectLinker.tsx
+++ b/studio/components/interfaces/Organization/IntegrationSettings/SidePanelVercelProjectLinker.tsx
@@@ -113,11 -120,11 +113,11 @@@ const SidePanelVercelProjectLinker = (
return (
<SidePanel
- header={'Add GitHub repository'}
+ header={'Add new Vercel Project Connection'}
size="large"
- visible={isOpen}
+ visible={sidePanelStateSnapshot.vercelConnectionsOpen}
hideFooter
- onCancel={() => onClose?.()}
+ onCancel={() => sidePanelStateSnapshot.setVercelConnectionsOpen(false)}
>
<div className="py-10 flex flex-col gap-6 bg-body h-full">
<SidePanel.Content>
diff --cc studio/data/integrations/integrations-vercel-connections-create-mutation.ts
index d608951e715,63c3c1fb309..7a4ab1b9bca
--- a/studio/data/integrations/integrations-vercel-connections-create-mutation.ts
+++ b/studio/data/integrations/integrations-vercel-connections-create-mutation.ts
@@@ -4,7 -4,8 +4,8 @@@ import { toast } from 'react-hot-toast
import { post } from 'data/fetchers'
import { ResponseError } from 'types'
import { integrationKeys } from './keys'
-import { IntegrationConnectionsCreateVariables } from './types'
+import { IntegrationConnectionsCreateVariables } from './integrations.types'
+ import { useIntegrationInstallationSnapshot } from 'state/integration-installation'
export async function createIntegrationVercelConnections({
organizationIntegrationId,