Skip to content

Commit

Permalink
Merge pull request #8204 from Expensify/neil-workspace-transition
Browse files Browse the repository at this point in the history
Exit to the proper page when transitioning

(cherry picked from commit 7cd7cc0)
  • Loading branch information
marcaaron authored and OSBotify committed Mar 17, 2022
1 parent e66a6c4 commit 8d12157
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/LogInWithShortLivedTokenPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,10 @@ export default withOnyx({
session: {
key: ONYXKEYS.SESSION,
},

// We need to subscribe to the betas so that componentDidUpdate will run,
// causing us to exit to the proper page.
betas: {
key: ONYXKEYS.BETAS,
},
})(LogInWithShortLivedTokenPage);

0 comments on commit 8d12157

Please sign in to comment.