From c492559010676ba3b5d910023f6f00621dd03fb8 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 14 Jul 2025 22:32:42 -0700 Subject: [PATCH] fix profile icon merge issue --- src/components/ProfileIcon.tsx | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/components/ProfileIcon.tsx b/src/components/ProfileIcon.tsx index 15fe46d7..fc7803a0 100644 --- a/src/components/ProfileIcon.tsx +++ b/src/components/ProfileIcon.tsx @@ -135,26 +135,6 @@ export default function ProfileIcon() { )} - - {user?.type === UserType.Internal && ( - <> - {!user.twoFactorEnabled && ( - setOpenEnable2fa(true)} - > - {t("otpEnable")} - - )} - {user.twoFactorEnabled && ( - setOpenDisable2fa(true)} - > - {t("otpDisable")} - - )} - - - )} {t("theme")} {(["light", "dark", "system"] as const).map( (themeOption) => (