Skip to content

Commit

Permalink
Merge pull request #20216 from Expensify/cristi_fix-blank-page-when-a…
Browse files Browse the repository at this point in the history
…uth-with-magic-link

Fix BlankPage instead of Abracadabra page.
  • Loading branch information
cristipaval authored Jun 7, 2023
2 parents a292aa9 + 64485be commit 7fef657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ValidateLoginPage/index.website.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class ValidateLoginPage extends Component {
<>
{currentAuthState === CONST.AUTO_AUTH_STATE.FAILED && <ExpiredValidateCodeModal />}
{currentAuthState === CONST.AUTO_AUTH_STATE.JUST_SIGNED_IN && is2FARequired && !isSignedIn && <TfaRequiredModal />}
{currentAuthState === CONST.AUTO_AUTH_STATE.NOT_STARTED && isSignedIn && <AbracadabraModal />}
{currentAuthState === CONST.AUTO_AUTH_STATE.JUST_SIGNED_IN && isSignedIn && <AbracadabraModal />}
{currentAuthState === CONST.AUTO_AUTH_STATE.NOT_STARTED && !isSignedIn && (
<ValidateCodeModal
accountID={this.getAccountID()}
Expand Down

0 comments on commit 7fef657

Please sign in to comment.