Skip to content

Commit

Permalink
Fix workspace switcher creating new workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
esh-g committed Feb 8, 2024
1 parent 22f2a48 commit 916d698
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/WorkspaceSwitcherPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) {
accessible={false}
role={CONST.ROLE.BUTTON}
onPress={() => {
Navigation.goBack();
App.createWorkspaceWithPolicyDraftAndNavigateToIt();
}}
>
Expand Down

0 comments on commit 916d698

Please sign in to comment.