From 8d12157b6535df1b73914b8ebd147bf8ba659e0a Mon Sep 17 00:00:00 2001 From: Marc Glasser Date: Thu, 17 Mar 2022 12:07:45 -1000 Subject: [PATCH] Merge pull request #8204 from Expensify/neil-workspace-transition Exit to the proper page when transitioning (cherry picked from commit 7cd7cc0b015aa1d6ad58a1930c3c0b0fe8c63541) --- src/pages/LogInWithShortLivedTokenPage.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/LogInWithShortLivedTokenPage.js b/src/pages/LogInWithShortLivedTokenPage.js index 61cb4778bf25..acd8c659104b 100644 --- a/src/pages/LogInWithShortLivedTokenPage.js +++ b/src/pages/LogInWithShortLivedTokenPage.js @@ -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);