From 6dfa4b3d951a609b9c13a9d6bc00195f59bdf4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=9Al=C4=99zak?= <102536422+filipslezaklab@users.noreply.github.com> Date: Wed, 6 Dec 2023 10:25:18 +0100 Subject: [PATCH] fix: mfa mobile scroll (#463) --- web/src/pages/auth/MFARoute/MFANav/MFANav.tsx | 4 +- web/src/pages/auth/MFARoute/style.scss | 67 ++++++++----------- web/src/pages/auth/style.scss | 35 +++++++--- .../modals/ManageWebAuthNModal/style.scss | 31 +++++---- 4 files changed, 72 insertions(+), 65 deletions(-) diff --git a/web/src/pages/auth/MFARoute/MFANav/MFANav.tsx b/web/src/pages/auth/MFARoute/MFANav/MFANav.tsx index bad8e83f4..ee6ef0e58 100644 --- a/web/src/pages/auth/MFARoute/MFANav/MFANav.tsx +++ b/web/src/pages/auth/MFARoute/MFANav/MFANav.tsx @@ -17,7 +17,7 @@ export const MFANav = () => { const totpRoute = useMatch('/auth/mfa/totp'); const web3Route = useMatch('/auth/mfa/web3'); - const webAuthNRoute = useMatch('/auth/mfa/webautn'); + const webAuthNRoute = useMatch('/auth/mfa/webauthn'); const emailRoute = useMatch('/auth/mfa/email'); const recoveryRoute = useMatch('/auth/mfa/recovery'); @@ -104,7 +104,7 @@ export const MFANav = () => { onClick={() => navigate(link.link, { replace: true })} /> ))} - {!recoveryRoute !== null && ( + {!recoveryRoute && (