Skip to content

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

Update the copy of the alert title when deleting shared snippet.

Ivan Vasilov1d83feb08eba
diff --git a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx b/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
index 4d133b4204d..b0acf33a1d9 100644
--- a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
+++ b/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
@@ -240,11 +240,9 @@ const QueryItemActions = observer(({ tabInfo, activeId }: QueryItemActionsProps)
<div className="text-sm text-scale-1100 grid gap-4">
<div className="grid gap-1">
{sharedSnippetsFeature && visibility === 'project' && (
- <Alert_Shadcn_ variant="destructive" className="">
+ <Alert_Shadcn_ variant="destructive">
<IconAlertCircle strokeWidth={2} />
- <AlertTitle_Shadcn_>
- This query will be deleted for all team members
- </AlertTitle_Shadcn_>
+ <AlertTitle_Shadcn_>This SQL snippet will be lost forever</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
Deleting this query will remove it for all members of the project team.
</AlertDescription_Shadcn_>