fix(web): drop redundant Close button from account dialogs
DialogFooter showCloseButton was rendering a third button (Close) next to the Cancel + 'Yes, delete' / 'Yes, unpair' pair. The corner X icon already closes the dialog, so the extra button was just visual noise. Drop the prop on both account-card dialogs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6759ca8131
commit
dbdb156a09
@ -77,7 +77,7 @@ export function DeleteAccountCard({
|
|||||||
cannot be undone.
|
cannot be undone.
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
<DialogFooter showCloseButton>
|
<DialogFooter>
|
||||||
<DialogClose asChild>
|
<DialogClose asChild>
|
||||||
<Button type="button" variant="ghost" size="sm">
|
<Button type="button" variant="ghost" size="sm">
|
||||||
Cancel
|
Cancel
|
||||||
|
|||||||
@ -76,7 +76,7 @@ export function UnpairAccountCard({
|
|||||||
deleted.
|
deleted.
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
<DialogFooter showCloseButton>
|
<DialogFooter>
|
||||||
<DialogClose asChild>
|
<DialogClose asChild>
|
||||||
<Button type="button" variant="ghost" size="sm">
|
<Button type="button" variant="ghost" size="sm">
|
||||||
Cancel
|
Cancel
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user