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
  • Loading branch information
marcaaron authored Mar 17, 2022
2 parents 1d687bc + ee24201 commit 7cd7cc0
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 7cd7cc0

Please sign in to comment.