Skip to content

Scheduling infrastructure for absolutely everyone.

Fix: Changed Delete My Account button from primary to Destructive (#26326)

Tamal Chakraborty582e547beac9
diff --git a/apps/web/modules/settings/my-account/profile-view.tsx b/apps/web/modules/settings/my-account/profile-view.tsx
index dbce2bf6109..c4b3c0261bb 100644
--- a/apps/web/modules/settings/my-account/profile-view.tsx
+++ b/apps/web/modules/settings/my-account/profile-view.tsx
@@ -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}>