diff --git a/app/(app)/profile/_components/ProfilePage.view.tsx b/app/(app)/profile/_components/ProfilePage.view.tsx index 09f80f2..18cf267 100644 --- a/app/(app)/profile/_components/ProfilePage.view.tsx +++ b/app/(app)/profile/_components/ProfilePage.view.tsx @@ -237,17 +237,8 @@ export function ProfilePageView({ leadingIcon: "mail", showDescription: false, }, - { - id: "delete-account", - title: t("deleteAccount"), - description: "", - onClick: onOpenDeleteAccount, - leadingIcon: "warning", - variant: "danger", - showDescription: false, - }, ]; - }, [t, onSignOut, onOpenDeleteAccount, onOpenEmailChange, onStartNewCustomRule]); + }, [t, onSignOut, onOpenEmailChange, onStartNewCustomRule]); const ruleCardShellClass = "w-full !max-w-full cursor-default !gap-3 !rounded-[12px] shadow-[0_0_48px_rgba(0,0,0,0.1)] lg:!rounded-[24px] lg:shadow-[0_0_24px_rgba(0,0,0,0.1)]"; @@ -408,6 +399,31 @@ export function ProfilePageView({ + +
+

+ {t("deleteAccount")} +

+

+ {t("deleteAccountIntro")} +

+ +
@@ -502,7 +518,7 @@ export function ProfilePageView({