From 0792f2e59f8531bca82ec49c46fe7840e3451078 Mon Sep 17 00:00:00 2001 From: nkdengineer <nkdengineer@outlook.com> Date: Tue, 20 Aug 2024 09:52:29 +0700 Subject: [PATCH] fix: black page when Navigating back from invited workspace chat --- src/libs/actions/Session/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/actions/Session/index.ts b/src/libs/actions/Session/index.ts index 6f29382f25a8..22b8b37c72d2 100644 --- a/src/libs/actions/Session/index.ts +++ b/src/libs/actions/Session/index.ts @@ -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); }); });