Skip to content

Commit

Permalink
Merge pull request #49221 from CyberAndrii/49215-fix-verification
Browse files Browse the repository at this point in the history
Optimistically set `account.validated` on validation
  • Loading branch information
grgia authored Sep 16, 2024
2 parents 1f66401 + bf46cd9 commit b3ddc8f
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 @@ -618,7 +618,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 b3ddc8f

Please sign in to comment.