From 622bb3ff4eedd623e1a3544263b263245b4a2795 Mon Sep 17 00:00:00 2001 From: Mohammed Imran Date: Fri, 17 Oct 2025 23:17:59 +0530 Subject: [PATCH] chore: simplify 2FA component rendering in profile form --- .../components/dashboard/settings/profile/profile-form.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx b/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx index 42f0f05d7..583f3fefe 100644 --- a/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx +++ b/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx @@ -156,9 +156,8 @@ export const ProfileForm = () => { {t("settings.profile.description")} -
- {!data?.user.twoFactorEnabled ? : } -
+ + {!data?.user.twoFactorEnabled ? : }