Skip to content

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

chore: simplify project copy buttons labels (#47689)

Gildas Garciaa84fd10a4feb
diff --git a/apps/studio/components/interfaces/ProjectHome/ProjectConnectionPopover.tsx b/apps/studio/components/interfaces/ProjectHome/ProjectConnectionPopover.tsx
index 8bb90c6d063..599d5e2b87f 100644
--- a/apps/studio/components/interfaces/ProjectHome/ProjectConnectionPopover.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/ProjectConnectionPopover.tsx
@@ -205,9 +205,7 @@ export const ProjectConnectionPopover = ({ projectRef }: ProjectConnectionPopove
<Icon size={14} className="mt-0.5 shrink-0 text-foreground-light" />
<div className="min-w-0 flex-1">
<div className="text-sm text-foreground">
- {copiedItem !== item.label ? (
- <span className="sr-only">Press Enter to copy</span>
- ) : null}
+ {copiedItem !== item.label ? <span className="sr-only">Copy</span> : null}
{item.label}
{copiedItem === item.label ? (
<span className="sr-only">copied to your clipboard</span>