From ad5cad8e97b7e77dffa4b020a39d405c8e3130cb Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 10 Jan 2025 12:34:56 +0530 Subject: [PATCH] Reuse --- .../components/two-factor/VerifyTwoFactor.tsx | 3 +- .../accounts/pages/two-factor/verify.tsx | 40 ++++++++----------- 2 files changed, 19 insertions(+), 24 deletions(-) diff --git a/web/packages/accounts/components/two-factor/VerifyTwoFactor.tsx b/web/packages/accounts/components/two-factor/VerifyTwoFactor.tsx index 4dd8aed535..56caf86141 100644 --- a/web/packages/accounts/components/two-factor/VerifyTwoFactor.tsx +++ b/web/packages/accounts/components/two-factor/VerifyTwoFactor.tsx @@ -74,6 +74,7 @@ export function VerifyTwoFactor(props: Props) { = ({ appContext }) => { }; return ( - - - {t("two_factor")} - - - - router.push(PAGES.TWO_FACTOR_RECOVER)} - > - {t("lost_2fa_device")} - - - {t("change_email")} - - - - + + {t("two_factor")} + + + router.push(PAGES.TWO_FACTOR_RECOVER)} + > + {t("lost_2fa_device")} + + {t("change_email")} + + ); };