diff --git a/src/pages/ValidateLoginPage/index.tsx b/src/pages/ValidateLoginPage/index.tsx index e689ad7c3e30..2289547afe56 100644 --- a/src/pages/ValidateLoginPage/index.tsx +++ b/src/pages/ValidateLoginPage/index.tsx @@ -19,7 +19,7 @@ function ValidateLoginPage({ if (session?.authToken) { // If already signed in, do not show the validate code if not on web, // because we don't want to block the user with the interstitial page. - if (exitTo){ + if (exitTo) { Session.handleExitToNavigation(exitTo); return; } diff --git a/src/pages/ValidateLoginPage/index.website.tsx b/src/pages/ValidateLoginPage/index.website.tsx index 963c31e5b41a..326112684817 100644 --- a/src/pages/ValidateLoginPage/index.website.tsx +++ b/src/pages/ValidateLoginPage/index.website.tsx @@ -64,7 +64,7 @@ function ValidateLoginPage({ <> {autoAuthState === CONST.AUTO_AUTH_STATE.FAILED && } {autoAuthState === CONST.AUTO_AUTH_STATE.JUST_SIGNED_IN && is2FARequired && !isSignedIn && } - {autoAuthState === CONST.AUTO_AUTH_STATE.JUST_SIGNED_IN && isSignedIn && !exitTo && } + {autoAuthState === CONST.AUTO_AUTH_STATE.JUST_SIGNED_IN && isSignedIn && !exitTo && } {autoAuthState === CONST.AUTO_AUTH_STATE.NOT_STARTED && !exitTo && (