Skip to content

Commit

Permalink
Merge pull request #29406 from studentofcoding/Fix-Error-message-disp…
Browse files Browse the repository at this point in the history
…lays-briefly-after-reopening-the-2FA-step-2-page

Fix Error message displays briefly after reopening the 2FA step 2 page
  • Loading branch information
grgia authored Oct 13, 2023
2 parents c9ccae3 + 880269f commit 31c417b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/settings/Security/TwoFactorAuth/Steps/VerifyStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ function VerifyStep({account, session}) {

useEffect(() => {
Session.clearAccountMessages();
return () => {
Session.clearAccountMessages();
};
}, []);

useEffect(() => {
Expand Down

0 comments on commit 31c417b

Please sign in to comment.