diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index e1e4e7e701..7caa3c4e5c 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -2195,7 +2195,7 @@
"create_your_org_description": "Upgrade to Enterprise and receive a subdomain, unified billing, Insights, extensive whitelabeling and more",
"other_payment_app_enabled": "You can only enable one payment app per event type",
"admin_delete_organization_description": "
- Teams that are member of this organization will also be deleted along with their event-types
- Users that were part of the organization will not be deleted and their event-types will also remain intact.
- Usernames would be changed to allow them to exist outside the organization
",
- "admin_delete_organization_title": "Delete organization?",
+ "admin_delete_organization_title": "Delete {{organizationName}}?",
"published": "Published",
"unpublished": "Unpublished",
"publish": "Publish",
diff --git a/packages/features/ee/organizations/pages/settings/admin/AdminOrgPage.tsx b/packages/features/ee/organizations/pages/settings/admin/AdminOrgPage.tsx
index 4bd6fef59c..7ce8c42ebe 100644
--- a/packages/features/ee/organizations/pages/settings/admin/AdminOrgPage.tsx
+++ b/packages/features/ee/organizations/pages/settings/admin/AdminOrgPage.tsx
@@ -73,7 +73,7 @@ function AdminOrgTable() {
});
};
- const [orgToDelete, setOrgToDelete] = useState(null);
+ const [orgToDelete, setOrgToDelete] = useState<(typeof data)[number] | null>(null);
return (
@@ -189,7 +189,7 @@ function AdminOrgTable() {
id: "delete",
label: t("delete"),
onClick: () => {
- setOrgToDelete(org.id);
+ setOrgToDelete(org);
},
icon: Trash,
},
@@ -202,12 +202,12 @@ function AdminOrgTable() {