Fix: Changed Delete My Account button from primary to Destructive (#26326)
This commit is contained in:
1 parent
fee19654b0
commit
582e547bea
1 file changed
+1
-1
@@ -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