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 f8e6216
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
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
1 change: 0 additions & 1 deletion src/pages/ValidateLoginPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ function ValidateLoginPage({
Session.handleExitToNavigation(exitTo);
return;
}
Navigation.goBack();
} else {
Session.signInWithValidateCodeAndNavigate(Number(accountID), validateCode, '', exitTo);
}
Expand Down

0 comments on commit f8e6216

Please sign in to comment.