Skip to content

Commit

Permalink
Optimistically set account.validated on validation
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberAndrii committed Sep 14, 2024
1 parent 0c618ac commit bf46cd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libs/actions/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,10 @@ function validateSecondaryLogin(loginList: OnyxEntry<LoginList>, contactMethod:
{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.ACCOUNT,
value: {isLoading: false},
value: {
isLoading: false,
validated: true,
},
},
{
onyxMethod: Onyx.METHOD.MERGE,
Expand Down

0 comments on commit bf46cd9

Please sign in to comment.