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

(cherry picked from commit b3ddc8f)

(CP triggered by grgia)
  • Loading branch information
grgia authored and OSBotify committed Sep 16, 2024
1 parent c4e8549 commit 6e27409
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 6e27409

Please sign in to comment.