Skip to content

Commit

Permalink
fix: black page when Navigating back from invited workspace chat
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Aug 20, 2024
1 parent 6334d36 commit 0792f2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/Session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ function handleExitToNavigation(exitTo: Route | HybridAppRoute) {
waitForUserSignIn().then(() => {
Navigation.waitForProtectedRoutes().then(() => {
const url = NativeModules.HybridAppModule ? Navigation.parseHybridAppUrl(exitTo) : (exitTo as Route);
Navigation.goBack();
Navigation.navigate(url);
});
});
Expand Down

0 comments on commit 0792f2e

Please sign in to comment.