Skip to content

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

Revert "Feat: add critical warning modal for removing members" (#27888)

Jonathan Summers-Muir660b7568c891
diff --git a/apps/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx b/apps/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx
index 7b3fdd9e7a7..1b70ca9abcb 100644
--- a/apps/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx
+++ b/apps/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx
@@ -282,23 +282,16 @@ export const MemberActions = ({ member }: MemberActionsProps) => {
</div>
<ConfirmationModal
- variant={'destructive'}
visible={isDeleteModalOpen}
- size="small"
title="Confirm to remove"
confirmLabel="Remove"
onCancel={() => setIsDeleteModalOpen(false)}
onConfirm={() => {
handleMemberDelete()
}}
- alert={{
- title: 'This action is permanent and cannot be undone',
- description:
- 'Removing a member is permanent and will delete all their content, including SQL snippets, reports, etc. Are you sure you want to proceed?',
- }}
>
<p className="text-sm text-foreground-light">
- You are about to remove {member.primary_email}.
+ This is permanent! Are you sure you want to remove {member.primary_email}
</p>
</ConfirmationModal>