Skip to content

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

fix: api key copy (#46159)

Vaibhav013c3446453b
diff --git a/apps/studio/components/interfaces/APIKeys/ApiKeyPill.tsx b/apps/studio/components/interfaces/APIKeys/ApiKeyPill.tsx
index 1ea719f27b3..d1af5cf0365 100644
--- a/apps/studio/components/interfaces/APIKeys/ApiKeyPill.tsx
+++ b/apps/studio/components/interfaces/APIKeys/ApiKeyPill.tsx
@@ -76,7 +76,7 @@ export function ApiKeyPill({
return key ?? ''
} catch {
toast.error('Failed to copy secret API key')
- return apiKey.api_key
+ return ''
}
}