diff --git a/app/(app)/profile/_components/ProfilePage.view.tsx b/app/(app)/profile/_components/ProfilePage.view.tsx index 09f80f2..7f1db4e 100644 --- a/app/(app)/profile/_components/ProfilePage.view.tsx +++ b/app/(app)/profile/_components/ProfilePage.view.tsx @@ -6,6 +6,7 @@ import Rule from "../../../components/cards/Rule"; import TextInput from "../../../components/controls/TextInput"; import List from "../../../components/layout/List"; import type { ListItem, ListSize } from "../../../components/layout/List"; +import ListEntry from "../../../components/layout/ListEntry"; import Icon from "../../../components/asset/icon"; import Dialog from "../../../components/modals/Dialog"; import Alert from "../../../components/modals/Alert"; @@ -237,17 +238,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)]"; @@ -406,6 +398,22 @@ export function ProfilePageView({ leadingIcon="edit" /> +
+ +
@@ -502,7 +510,7 @@ export function ProfilePageView({