diff --git a/src/pages/WorkspaceSwitcherPage/WorkspacesSectionHeader.tsx b/src/pages/WorkspaceSwitcherPage/WorkspacesSectionHeader.tsx index 36e24036d365..21b1ff37e0f1 100644 --- a/src/pages/WorkspaceSwitcherPage/WorkspacesSectionHeader.tsx +++ b/src/pages/WorkspaceSwitcherPage/WorkspacesSectionHeader.tsx @@ -9,7 +9,6 @@ import useLocalize from '@hooks/useLocalize'; import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; import interceptAnonymousUser from '@libs/interceptAnonymousUser'; -import Navigation from '@libs/Navigation/Navigation'; import * as App from '@userActions/App'; import CONST from '@src/CONST'; @@ -33,7 +32,6 @@ function WorkspacesSectionHeader() { accessible={false} role={CONST.ROLE.BUTTON} onPress={() => { - Navigation.goBack(); interceptAnonymousUser(() => App.createWorkspaceWithPolicyDraftAndNavigateToIt()); }} >