From 916d6989324ff9d14802c1faaf36a4a1a1dd2baf Mon Sep 17 00:00:00 2001 From: someone-here Date: Thu, 8 Feb 2024 21:44:57 +0530 Subject: [PATCH] Fix workspace switcher creating new workspace --- src/pages/WorkspaceSwitcherPage.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/WorkspaceSwitcherPage.tsx b/src/pages/WorkspaceSwitcherPage.tsx index 4b464777b534..a6b354a94857 100644 --- a/src/pages/WorkspaceSwitcherPage.tsx +++ b/src/pages/WorkspaceSwitcherPage.tsx @@ -216,6 +216,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) { accessible={false} role={CONST.ROLE.BUTTON} onPress={() => { + Navigation.goBack(); App.createWorkspaceWithPolicyDraftAndNavigateToIt(); }} >