Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Update styles of delete account button

Luke Vella7a302c8aca87
diff --git a/apps/web/src/app/[locale]/(admin)/settings/profile/profile-page.tsx b/apps/web/src/app/[locale]/(admin)/settings/profile/profile-page.tsx
index d826d9f66..db70d7819 100644
--- a/apps/web/src/app/[locale]/(admin)/settings/profile/profile-page.tsx
+++ b/apps/web/src/app/[locale]/(admin)/settings/profile/profile-page.tsx
@@ -2,7 +2,6 @@
import { Alert, AlertDescription, AlertTitle } from "@rallly/ui/alert";
import { Button } from "@rallly/ui/button";
import { DialogTrigger } from "@rallly/ui/dialog";
-import { Icon } from "@rallly/ui/icon";
import { Input } from "@rallly/ui/input";
import { Label } from "@rallly/ui/label";
import { InfoIcon, LogOutIcon, TrashIcon, UserXIcon } from "lucide-react";
@@ -109,10 +108,8 @@ export const ProfilePage = () => {
>
<DeleteAccountDialog email={user.email}>
<DialogTrigger asChild>
- <Button variant="destructive">
- <Icon>
- <TrashIcon />
- </Icon>
+ <Button className="text-destructive">
+ <TrashIcon className="size-4" />
<Trans
i18nKey="deleteAccount"
defaults="Delete Account"