Skip to content

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

fix: install vercel integration button incorrect asChild (#19471)

Alaister Youngc5d79f458f34
diff --git a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
index dfc5c904c6d..a0adb2e0631 100644
--- a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
+++ b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
@@ -197,7 +197,12 @@ You can change the scope of the access for Supabase by configuring
</div>
) : (
<div>
- <Button asChild type="default" disabled={isBranch} iconRight={<IconExternalLink />}>
+ <Button
+ asChild={!isBranch}
+ type="default"
+ disabled={isBranch}
+ iconRight={<IconExternalLink />}
+ >
{isBranch ? (
<p>Install Vercel Integration</p>
) : (