Fix: Changed Delete My Account button from primary to Destructive (#26326)
This commit is contained in:
@@ -364,7 +364,7 @@ const ProfileView = ({ user }: Props) => {
|
||||
<DialogFooter showDivider>
|
||||
<DialogClose />
|
||||
<Button
|
||||
color="primary"
|
||||
color="destructive"
|
||||
data-testid="delete-account-confirm"
|
||||
onClick={(e) => onConfirmButton(e)}
|
||||
loading={deleteMeMutation.isPending}>
|
||||
|
||||
Reference in New Issue
Block a user