From aaab4ca741b3d77dac5d215046445966114c3b7f Mon Sep 17 00:00:00 2001 From: Riyan Mohammad <107925299+riyan911@users.noreply.github.com> Date: Fri, 9 Jun 2023 13:49:33 +0530 Subject: [PATCH] refactor: TwoFactor.tsx (#9392) * Update TwoFactor.tsx * fix: useeffect Signed-off-by: Udit Takkar --------- Signed-off-by: Udit Takkar Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Co-authored-by: Udit Takkar Co-authored-by: Peer Richelsen --- apps/web/components/auth/TwoFactor.tsx | 30 +++++++++++++------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/web/components/auth/TwoFactor.tsx b/apps/web/components/auth/TwoFactor.tsx index 7950ae2327..e074639fe2 100644 --- a/apps/web/components/auth/TwoFactor.tsx +++ b/apps/web/components/auth/TwoFactor.tsx @@ -26,24 +26,24 @@ export default function TwoFactor({ center = true }) { return (
- +

{t("2fa_enabled_instructions")}

- + + +
- - - - - - + {digits.map((digit, index) => ( + + ))}
);