diff --git a/site/src/pages/OrganizationSettingsPage/OrganizationSettingsPageView.tsx b/site/src/pages/OrganizationSettingsPage/OrganizationSettingsPageView.tsx index 7dcf23bf4a4a6..16738ca7dd52d 100644 --- a/site/src/pages/OrganizationSettingsPage/OrganizationSettingsPageView.tsx +++ b/site/src/pages/OrganizationSettingsPage/OrganizationSettingsPageView.tsx @@ -126,14 +126,18 @@ export const OrganizationSettingsPageView: FC< {!organization.is_default && ( - + -
+
Deleting an organization is irreversible. -
@@ -151,45 +155,3 @@ export const OrganizationSettingsPageView: FC<
); }; - -const styles = { - dangerSettings: (theme) => ({ - display: "flex", - backgroundColor: theme.roles.danger.background, - alignItems: "center", - justifyContent: "space-between", - border: `1px solid ${theme.roles.danger.outline}`, - borderRadius: 8, - padding: 12, - paddingLeft: 18, - gap: 8, - lineHeight: "18px", - flexGrow: 1, - - "& .option": { - color: theme.roles.danger.fill.solid, - "&.Mui-checked": { - color: theme.roles.danger.fill.solid, - }, - }, - - "& .info": { - fontSize: 14, - fontWeight: 600, - color: theme.roles.danger.text, - }, - }), - dangerButton: (theme) => ({ - borderColor: theme.roles.danger.outline, - color: theme.roles.danger.text, - - "&.MuiLoadingButton-loading": { - color: theme.roles.danger.disabled.text, - }, - - "&:hover:not(:disabled)": { - backgroundColor: theme.roles.danger.hover.background, - borderColor: theme.roles.danger.hover.fill.outline, - }, - }), -} satisfies Record>;