improvement(settings): drop the Delete account row's description (#6845)

The confirmation modal already states the consequence, and states it better:
it names the account, enumerates the workspaces that will be deleted, notes
which billing transfers instead, marks 'This cannot be undone' in the error
color, and requires typing the email to proceed. Nothing is lost by removing
the line from the row.

The wrapper it shared with the row goes too, now that the row is the section's
only child.
This commit is contained in:
Waleed
2026-08-18 22:15:36 -07:00
committed by GitHub
parent ae8b169fbc
commit 1b30611363
@@ -563,15 +563,9 @@ export function General() {
{!isAuthDisabled && (
<SettingsSection label='Account'>
<div className='flex flex-col gap-3'>
<div className='flex items-center justify-between'>
<Label>Delete account</Label>
<Chip onClick={() => setShowDeleteAccountModal(true)}>Delete</Chip>
</div>
<p className='text-[var(--text-muted)] text-small'>
Permanently deletes your account and everything only you can reach workflows,
chats, files, knowledge bases and credentials. This cannot be undone.
</p>
<div className='flex items-center justify-between'>
<Label>Delete account</Label>
<Chip onClick={() => setShowDeleteAccountModal(true)}>Delete</Chip>
</div>
</SettingsSection>
)}